[Zope] why is zope returning my pages as octet/stream?

Zopista zopista@zopezen.org
Wed, 4 Apr 2001 08:04:07 -0700


Im assuming you have a <html> tag in your code... if not Zope is making an
incorrect guess for some reason. You can explicitly set a header using
<dtml-call "REQUEST.setHeader('Content-type', 'text/html')">

--
  Andy McKay

----- Original Message -----
From: "Gerrie Roos" <gerrie@trispen.com>
To: <zope@zope.org>
Sent: Wednesday, April 04, 2001 6:44 AM
Subject: [Zope] why is zope returning my pages as octet/stream?


> I've created a form to fill in and submit...and then Netscape pops up
> the 'save as' dialog, not knowing the returned file is HTML...When I
> save the file and check its contents, its perfect.  Why is zope
> publishing this page as octet/stream?
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>