[Zope] Strange behavior with Zope 2
Petri Lankoski
count@cs.tut.fi
Fri, 3 Sep 1999 16:43:04 +0300 (EET DST)
I just upgraded to Zope 2.0.0 and move my site to it. It seems
that sometimes Zope determines mime type of document errorenously.
Pages worked fine with Zope 1.
Html files are some times treated as text/plain. This happens when I
have defined new standard_html_header method for a folder (but not
every folder that have it's own standard_html_header and footer).
F.e.
dtml-source:
<!--#var standard_html_header-->
<IMG SRC="space_gif" ALT="">
<!--#var standard_html_footer-->
renders to page that looks like:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="fi">
<head>
...etc...
Page Info says:
Location: http://xcalibur.cc.tut.fi/Zope/Pelit/476/index_html
File MIME Type: text/plain
Should I do something differetly with Zope 2 is this bug?
--
Petri Lankoski Cancel my subscription to the Resurrection
kreivi@iki.fi Send my credentials to the House of Detention
http://www.iki.fi/~kreivi/ doors
PGP: http://www.iki.fi/~kreivi/pgp.txt