Issue 848870: Flakey urllib2.parse_http_list - Python tracker (original) (raw)
Issue848870
Created on 2003-11-25 11:36 by zenzen, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (4) | ||
---|---|---|
msg44929 - (view) | Author: Stuart Bishop (zenzen) | Date: 2003-11-25 11:36 |
Breaks with the following challenge: realm="localhost",nonce="764d66b5e8c907eb5873d5d4c2131 1a1ad62535c",qop=auth,charset=utf-8,algorithm=md5-sess''' 'realm="localhost",nonce="764d66b5e8c907eb5873d5d4c213 11a1ad62535c",qop=auth,charset=utf-8,algorithm=md5-sess Suggest changing the implementation to: import csv def parse_http_list(s): """Parse lists as described by RFC 2068 Section 2. In particular, parse comman-separated lists where the elements of the list may include quoted-strings. A quoted-string could contain a comma. """ return csv.reader([s]).next() | ||
msg44930 - (view) | Author: Stuart Bishop (zenzen) | Date: 2003-11-25 11:53 |
Logged In: YES user_id=46639 I appear to be cut & paste challenged. The challenge is: realm="localhost",nonce="764d66b5e8c907eb5873d5d4c2131 1a1ad62535c",qop=auth,charset=utf-8,algorithm=md5-sess Might not be worth fixing on the 2.3 branch, since this isn't actually generated from a webserver (its from jabberd). | ||
msg44931 - (view) | Author: John J Lee (jjlee) | Date: 2005-05-19 21:07 |
Logged In: YES user_id=261020 This should be closed. Patch 901480 is better. (Stuart: I don't think it's wise to handle this RFC-documented protocol using a module designed for reading CSV files. Also, in future, please always use the file upload feature of the tracker to upload any code or patch, rather than pasting into the text area. Thanks for the report!) | ||
msg44932 - (view) | Author: Georg Brandl (georg.brandl) * ![]() |
Date: 2005-08-24 20:53 |
Logged In: YES user_id=1188172 I agree with jjlee. Depending on csv is unnecessary. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:01 | admin | set | github: 39597 |
2003-11-25 11:36:42 | zenzen | create |