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 36872] - Internal pipelines and map:mount eat HTTP headers without warning
Date Wed, 05 Oct 2005 13:14:01 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=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.

Mime
View raw message