[Web-SIG] Re: [client side] RFC 2616 HTTP header parsing, Digest auth, and cookies

John J Lee jjl at pobox.com
Sun Nov 9 19:13:37 EST 2003


On Fri, 7 Nov 2003, John J Lee wrote:

> On Thu, 6 Nov 2003, Anthony Baxter wrote:
> [...]
> > There's something similar in the urllib2 code for this.
> [...]
>
> Yeah, though, as I said in my post:
>
> http://www.python.org/sf/735248

It's worse than that: parse_http_list doesn't do \-quoting, either, which
is broken for both Digest auth (its current use) and cookies.  Not easy to
fix, I think.

[...]
> non-auth purposes anyway.  I'll replace my function with a new one that
> uses parse_http_list.

I'll have to stick with my old function.


> (And, presumably, Greg S.'s auth code will eventually obsolete the current
> urllib2 auth code.)

So I guess there's no moral imperative <wink> on Anthony to fix
parse_http_list.


John



More information about the Web-SIG mailing list