[Web-SIG] Why is response_headers a list instead of a dict?

Phillip J. Eby pje at telecommunity.com
Sun Dec 25 06:13:09 CET 2005


At 10:45 PM 12/24/2005 -0500, Clark C. Evans wrote:
>Why is response_headers a list instead of a dict?

The short answer is because of "Set-Cookie:" headers, and quoting issues 
with the 'expires' parameter.  The slightly longer answer is that it gives 
the application more control of the response, which may be important to 
work around bugs in browsers, caches, and proxies currently deployed in the 
field.  :(



More information about the Web-SIG mailing list