--On 21. Dezember 2005 18:07:49 +0000 Chris Withers <[EMAIL PROTECTED]> wrote:

How will Zope know when _not_ to add the content-type header?

Makes no sense to me. Either the application set the content-type header or Zope does it for you. Check HTTPResponse.py.


How will Zope tell if the charset is "undefined" and what does
"undefined" mean in this context?

The HTTP spec says that a http server *can* set the charset to make the encoding of the payload clear. That's what we are doing now. Not specifying the charset means for the browser: *guessing* the encoding which means the browser defaults to some unspecified default encoding.

-aj

Attachment: pgp7xgHZLLdbH.pgp
Description: PGP signature

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to