Skip to content
Myr

note about indns

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

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:requests/models.py+1 added
236 unmodified lines
237238 def _build_url(self):239 """Build the actual URL to use"""240241 # Support for unicode domain names.242 parsed_url = list(urlparse(self.url))243 parsed_url[1] = parsed_url[1].encode('idna')244 self.url = urlunparse(parsed_url)245
308 unmodified lines