[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>&nbsp; *&nbsp; set a content type in the generated
file that tells the
<br>&nbsp;&nbsp;&nbsp;&nbsp; browser that the file should be stored and
not shown, e.g.:
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dtml-call "RESPONSE.setHeader('Content-Type','application')">
<br>&nbsp;</blockquote>
Aaggghhh!&nbsp; Please use a valid mime type format for the Content-Type.&nbsp;
'application/binary' would be much preferred to what was suggested.&nbsp;
Mime types should have two halves.
<p>--sam
<br>&nbsp;
<pre>--&nbsp;
------------------------------------------------
"It feels much better than it ever did,&nbsp;
&nbsp;much more sensitive"
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --John Wayne Bobbitt</pre>
&nbsp;</html>

--------------4579B6719F2F069427A0D1E3--