On Thursday 08 March 2007 21:06, Roger Ineichen wrote:
> Some test do not pass in our application with
> the newest Zope3 trunk.
> Can somebody explain what's happen to the meta header info.
> In our Page Template the following header get lost:
> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
Roger forgot to mention that this is probably due to this checkin:
See checkin 73025 from zagy:
- zope.pagetemplate.pagetemplatefile introspects the html http-equiv
header to guess the content encoding. This did not work for XHTML
- zope.app.publisher.browser.pagetemplateresource sets the Content-Type
header like the other page templates do it.
This basically fixes page templates in resource directories having a byte
mark. Those were delivered as text/plain.
If we do not get an explanation what happens here including a fix, I am going
to revert this checkin.
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
Zope3-dev mailing list