cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Coboos <cromo...@gmx.net>
Subject Re: Setting header
Date Mon, 28 Jun 2004 08:56:18 GMT
Oro smith wrote:

>How can the mime type be specified in the http header when sending a file to the browser??
>
>Just like in php where we can specify something like :
>
><?php
>header("Content-type: text/vnd.wap.wml"); 
>
>How is this done in cocoon?? 
>
>
>
>
>
>
>
>
>
>-------------------------------------------------
>Still single? Click here to find the perfect match.
>                                                                                
>http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?141
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>  
>
Or within your flowscript (is your're using one):

cocoon.response.setHeader("Content-type", "text/vnd.wap.wml")

Regards

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


Mime
View raw message