Skip to content
Myr

by @mwielgoszewski

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 1c0abbd · Browse files · 1 file+1 added−1 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−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:requests/utils.py+1 added-1 removed
412 unmodified lines
413 try:414 parts = uri.split('%')415 for i in range(1, len(parts)):416 h = parts[i][0:2]417 if len(h) == 2:417 if len(h) == 2 and h.isalnum():418 c = chr(int(h, 16))419 if c in UNRESERVED_SET:420 parts[i] = c + parts[i][2:]421 else:
34 unmodified lines