> > Modified: > > trunk/quixote/http_response.py > > Log: > > Remove charset option from HTTPResponse.set_content_type(). > > Calling it without a charset had the surprising effect of setting the > > charset to iso-8859-1. > > If you want to set the charset on the response, call set_charset(). > > This is not backward compatible. > > I don't think I agree with this change. set_content_type() worked > like that for a reason. Usually when you call set_content_type() > you are changing the content-type to something non-text (e.g. an > image). In that case you want the charset to be iso-8859-1.
?? If the content is non-text, there should be no charset at all. not even a default one. > You don't want the response to be encoded using DEFAULT_CHARSET. Another reason why encode-ing the output when its NOT a unicode string is wrong. -- damjan | ÐÐÐÑÐÐ This is my jabber ID --> [EMAIL PROTECTED] <-- not my mail address!!! _______________________________________________ Quixote-users mailing list [email protected] http://mail.mems-exchange.org/mailman/listinfo/quixote-users
