[Zope-dev] Strange Characters and Zope

Andreas Kostyrka andreas@mtg.co.at
Sun, 1 Aug 1999 13:48:57 +0200 (CEST)


On Sun, 1 Aug 1999, Robin Becker wrote:

> ><dtml-call "RESPONSE.set('content-type','text/html')">
> >
> >to your standard_html_header.
> it would seem reasonable for the default to be html the odd case being
> binary
Actually, it works as follows:
If it contains ``binary'' characters, it's binary.
If it contains <HTML>, it's text/html.
Else it's text/plain.

> >(Even more curious is, that IE5 DOES display application/octet-stream as
> > HTML, even with a missing <HTML> and <BODY> tag it seems ;) )
> >
> yes I found IE5 displayed correctly, another Bill attempt to discredit
Well, I don't know if displaying a binary like say a .EXE file as ascii
seems reasonable.

Andreas
--
Andreas Kostyrka                     | andreas@mtg.co.at
phone: +43/1/7070750                 | phone: +43/676/4091256   
MTG Handelsges.m.b.H.                | fax:   +43/1/7065299
Raiffeisenstr. 16/9                  | 2320 Zwoelfaxing AUSTRIA