On Fri, May 20, 2005 at 03:59:28PM -0400, David Binger wrote:
> I don't understand your reason.  set_content_type() sets the
> content type.  set_charset() sets the charset.  This seems pretty
> clear.

The charset is part of the content-type header.  They are pretty
initmately tied together.  According to the HTTP specification, if
you don't provide a charset parameter then the default is
effectively iso-8859-1.  Maybe the set_charset() function should be
deprecated and eventually removed.

Regarding Damjan's comment about charset not making sense if the
type is not text/*, I don't think it hurts to specify it iso-8859-1.
Always having a charset parameter makes the Quixote code a little
simpler.

  Neil
_______________________________________________
Quixote-users mailing list
[email protected]
http://mail.mems-exchange.org/mailman/listinfo/quixote-users

Reply via email to