Quoting Oro smith <[EMAIL PROTECTED]>:

> 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?? 
> 
> 
> 
> 

in your serializer sitemap declaration :

  <map:serializer name="wml" src="..." mime-type="test/vnd.wap.wml"/>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to