cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Gilligan <pdgilli...@oyap.net>
Subject How to stop "mimed" files from causing the browser todo a file-save-as
Date Thu, 30 May 2002 18:52:29 GMT
In my sitemap I have setup :

                 <map:match pattern="*.txt">
                     <map:generate src="{1}.xml" mime-type="text/plain"/>
                     <map:transform src="system/docbook2txt.xsl"/>
                     <map:serialize type="text"/>
                 </map:match>

And when I do:

http://www.oyap.net/cocoon/oyap/index.txt

The browser does not recognise the mime of text/plain, which is strange 
because it can handle text files normally.

So how do we get the response from cocoon correct here?

Paul


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


Mime
View raw message