You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parse_http_list should split a string on commas, unless
the commas are within a quoted-string. (It allows only
the "" quote, and not the single-quote, but this seems to
follow the RFC.)
If there are not quoted-strings, it repeats the first tokens
as part of subsequent tokens.
parse_http_list ('a,b') => ['a','a,b']
It should return ['a','b']
parse_http_list ('a,b,c') => ['a','a,b','a,b,c']
It should return ['a','b','c']
Patch: On (cvs version) line 882, when no quote is found
and inquote is false, reset the start position to after the
comma.
This function doesn't deal with quoting of characters inside
quoted-strings, either. In particular, it doesn't deal with \", \\,
and \, (see RFC 2616, section 2.2, quoted-pair).
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: