cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 25121] - wrong mime-type with "cocoon:" protocol reads
Date Sun, 06 Mar 2005 04:37:02 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=25121>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=25121





------- Additional Comments From Alfred.Nathaniel@swx.com  2005-03-06 05:37 -------
Created an attachment (id=14413)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=14413&action=view)
Patch for mime type setting on map:read and map:serialize

This a patch to fix the ignored mime type setting in 2.1.x as discussed in
http://marc.theaimsgroup.com/?t=110978709800002&r=1&w=2.

It fixes the major part, i.e. map:read/@mime-type being ignored.  The loss of
the mime type in an indirect cocoon:/ reader call is not addressed but that is
anyway out of scope (see comment #18).

I reshuffled the test cases in order not to use text/html.  Some tests have
passed simply because error pages are HTML :-|

All tests now run through, although the output still contains failure messages.
 That is an artefact of anteater when testing for the absence of a header.  I
could tweak the test to proceed but did not find how to shut up the expected
error message.

NB bug 26997 contains a similar patch minus the anteater tests but plus the
profiling pipelines.  Shouldn't profiling pipelines rather be refactored to
inherit this behaviour from AbstractProcessingPipeline?  I never used profiling
so I don't want to touch it here.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Mime
View raw message