Skip to content
Myr

Merge pull request #342 from bjedwards/patch-1

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

Fix syntax error in last commit.

authored by Kenneth Reitz · committed by Kenneth Reitz · parents d339ffe, a25141f · 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/models.py+1 added-1 removed
296 unmodified lines
297 # Support for unicode domain names and paths.298 scheme, netloc, path, params, query, fragment = urlparse(self.url)299300 if not scheme:301 raise ValueError("Invalid URL %r: No schema supplied" %r self.url)301 raise ValueError("Invalid URL %r: No schema supplied" %self.url)302303 netloc = netloc.encode('idna')304305 if isinstance(path, unicode):
403 unmodified lines