AW: AW: [Zope3-Users] Re: header trouble
Roger Ineichen
dev at projekt01.ch
Wed Oct 10 11:49:47 EDT 2007
Hi
> Betreff: Re: AW: [Zope3-Users] Re: header trouble
[...]
> > See:
> >
> > http://www.w3.org/Protocols/rfc2616/rfc2616-sec7.html
> >
> > 7.2.1 Type
> > ...
> > Any HTTP/1.1 message containing an entity-body SHOULD include a
> > Content-Type header field defining the media type of that body.
> >
> > Do you have more information about that? Is it Ok to skip the
> > Content-Type from the header?
>
> But we *are* sending a Content-Type header. And we remove the
> http- equiv thingy from the page template file in favour of
> the HTTP header.
Yes, I know that we send a Content-Type. But I'm not sure if
this is the right way to do it.
The question is;
Should we skip the header in the HTML template or should we
skip the header info in the request. The spec says only
that we should use a header. This whould mean that we should
replace the header in the page and skip the request header.
If I remember correct, there is also a (encoding or something)
attribute in a ZPT class. This whould be another usecase too.
I can't say if this is correct or not right now.
Does anybody know?
Regards
Roger Ineichen
> --
> Christian Zagrodnick
>
> gocept gmbh & co. kg . forsterstrasse 29 . 06112
> halle/saale www.gocept.com . fon. +49 345 12298894 . fax. +49
> 345 12298891
>
>
>
More information about the Zope3-users
mailing list