Re: Patch[1] for http_response.py for quixote-2.1

Neil Schemenauer <[email protected]>
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
On Sun, Aug 21, 2005 at 05:02:35PM +0200, Damjan wrote:
> This patch for Quixote-2.1/http_response.py makes the
> HTTPResponse.set_content_type method more similar to
> HTTPResponse.__init__,  in that it no longer assumes that iso-8859-1 is the
> default charset.

According to the HTTP specification, iso-8859-1 is the default
charset if the 'charset' parameter of the Context-Type header is not
provided.  That is why set_content_type works the way it does.

  Neil
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.