Skip to content
Myr

cleanup

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent e272ec1 · Browse files · 1 file+1 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−4 removed

  • other:+1 added−4 removed

1 file+1 added−4 removed

modified:requests/utils.py+1 added-4 removed
28 unmodified lines
2930 collector = []3132 if isinstance(headers, dict):3334 # Assume header-tuple33 headers = headers.items()3437 # print headers3835 for i, (value, params) in enumerate(headers):3637 _params = []38
11 unmodified lines
50 if not len(headers) == i+1:51 collector.append(', ')525354 # Remove trailing seperators.55 if collector[-1] in (', ', '; '):56 del collector[-1]5758 return ''.join(collector)
154 unmodified lines