You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2005/10/05 15:14:01 UTC
DO NOT REPLY [Bug 36872] -
Internal pipelines and map:mount eat HTTP headers without warning
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=36872>.
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=36872
------- Additional Comments From bdelacretaz@codeconsult.ch 2005-10-05 15:14 -------
HtmlUnit test case added (Bug36872HttpHeaderActionTestCase)
To run only this test add
htmlunit.test.include=**/Bug36872HttpHeaderActionTestCase.class
to local.build.properties and run the htmlunit-tests build target.
I haven't tested again with the 2.1.7 release, but with the current 2.1.8-dev
SVN the testInternalRequestNoFlow test fails.
The test uses an internal request without flowscript:
<map:match pattern="internal-request">
<map:generate src="cocoon:/internal-request-helper/from-internal-request"/>
<map:serialize type="xml"/>
</map:match>
<map:match pattern="internal-request-helper/*">
<map:act type="set-header">
<map:parameter name="X-HttpHeaderActionTest" value="{1}"/>
</map:act>
<map:generate src="somefile.xml"/>
<map:serialize type="xml"/>
</map:match>
and in this case the header is not present in the output
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.