Skip to content
Myr

Fixed bad merge.

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

authored by Jérémy Bethmont · committed by Jérémy Bethmont · parent fe109b2 · Browse files · 1 file+2 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+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:requests/models.py+2 added-1 removed
228 unmodified lines
229 url = r.headers['location']230231 # Facilitate non-RFC2616-compliant 'location' headers232 # (e.g. '/path/to/resource' instead of 'http://domain.tld/path/to/resource')233 if not urlparse(url).netloc:233 url = urljoin(r.url, urllib.quote(urllib.unquote(url)))234 url = urljoin(r.url, urllib.quote(urllib.unquote(url)))235236 # http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.4237 if r.status_code is 303:238 method = 'GET'
389 unmodified lines