durusmail: quixote-users: Patch[1] for http_response.py for quixote-2.1
Patch[1] for http_response.py for quixote-2.1
2005-08-21
2005-08-21
2005-08-29
2005-08-29
Re: Patch[1] for http_response.py for quixote-2.1
2005-08-29
2005-08-29
2005-09-01
behavior of set_content_type()
Re: behavior of set_content_type()
2005-08-30
2005-08-30
2005-08-30
Patch[1] for http_response.py for quixote-2.1
Neil Schemenauer
2005-08-21
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
reply