[Zope] creating a file on a client
sam gendler
sgendler@akamai.com
Wed, 21 Mar 2001 13:39:49 -0800
--------------4579B6719F2F069427A0D1E3
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Dieter Maurer wrote:
> * set a content type in the generated file that tells the
> browser that the file should be stored and not shown, e.g.:
>
> <dtml-call "RESPONSE.setHeader('Content-Type','application')">
>
Aaggghhh! Please use a valid mime type format for the Content-Type.
'application/binary' would be much preferred to what was suggested. Mime
types should have two halves.
--sam
--
------------------------------------------------
"It feels much better than it ever did,
much more sensitive"
--John Wayne Bobbitt
--------------4579B6719F2F069427A0D1E3
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Dieter Maurer wrote:
<blockquote TYPE=CITE> * set a content type in the generated
file that tells the
<br> browser that the file should be stored and
not shown, e.g.:
<p> <dtml-call "RESPONSE.setHeader('Content-Type','application')">
<br> </blockquote>
Aaggghhh! Please use a valid mime type format for the Content-Type.
'application/binary' would be much preferred to what was suggested.
Mime types should have two halves.
<p>--sam
<br>
<pre>--
------------------------------------------------
"It feels much better than it ever did,
much more sensitive"
--John Wayne Bobbitt</pre>
</html>
--------------4579B6719F2F069427A0D1E3--