cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lionel Crine <cr...@4dconcept.fr>
Subject Header and Reader
Date Fri, 12 Sep 2003 10:29:44 GMT
I saw a thread with reader and header and I folloowed the instruction but 
it doessn't seem to work.


Here is my pipeline:
       <map:match pattern="save/*.store">
         <map:act type="header"> ---> HttpHeaderAction
           <map:parameter name="Pragma" value="no-cache" />
           <map:parameter name="Content-Disposition"
           value="{1}.zip" />
           <map:parameter name="Content-Type"
           value="binary/octet-stream" />
         </map:act>
         <map:read type="resource" src="D://{1}"/>
       </map:match>

The Content disposition is not seem to work.

IE display the file as xml (which it is)
and Mozilla ask me to save the file as test.store.xml



PLEASE, help me!!!! I'm Starting to tear of my hair!!

Lionel CRINE
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : 01.34.58.70.70 Fax : 01.39.58.70.70


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message