| Commit message (Collapse) | Author | Age |
... | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Clarifies what is returned when and that the methods are common between the two.
Patch by Alexander Liu as part of #22797.
|
|\| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Some servers send Location header fields with non-ASCII bytes, but "http.
client" requires the request target to be ASCII-encodable, otherwise a
UnicodeEncodeError is raised. Based on patch by Christian Heimes.
Python 2 does not suffer any problem because it allows non-ASCII bytes in the
HTTP request target.
|
| | | | |
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Issue #26892: Honor debuglevel flag in urllib.request.HTTPHandler.
Patch contributed by Chi Hsuan Yen.
|
| | | |
| | | |
| | | |
| | | | |
Patch contributed by Chi Hsuan Yen.
|
|\| | | |
|
| | | |
| | | |
| | | |
| | | | |
Patch by Xiang Zhang.
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Issue #26804: urllib.request will prefer lower_case proxy environment variables
over UPPER_CASE or Mixed_Case ones.
Patch contributed by Hans-Peter Jansen. Reviewed by Martin Panter and Senthil Kumaran.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
over UPPER_CASE or Mixed_Case ones.
Patch contributed by Hans-Peter Jansen. Reviewed by Martin Panter and Senthil Kumaran.
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
AbstractDigestAuthHandler.get_algorithm_impls
Raise ValueError if algorithm is not MD5 or SHA.
Initial patch by Mathieu Dupuy.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
AbstractDigestAuthHandler.get_algorithm_impls
Raise ValueError if algorithm is not MD5 or SHA.
Initial patch by Mathieu Dupuy.
|
| | | |
| | | |
| | | |
| | | | |
to format short Python version.
|
|\| | | |
|
| | | |
| | | |
| | | |
| | | | |
Based on patches by Brian Brazil and Daniel Rocco.
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
to ASCII replacements. Removed UTF-8 BOM from Misc/NEWS.
Original patch by Chris Angelico.
|
| | | | |
|
|/ / / |
|
|\| |
| | |
| | |
| | | |
Patch from Daniel Andrade Groppe and Peter Lovett
|
| | |
| | |
| | |
| | | |
Patch from Daniel Andrade Groppe and Peter Lovett
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This fix is a superset of the functionality introduced by the issue #19494
enhancement, and supersedes that fix. Instead of a new handler, we have a new
password manager that tracks whether we should send the auth for a given uri.
This allows us to say "always send", satisfying #19494, or track that we've
succeeded in auth and send the creds right away on every *subsequent* request.
The support for using the password manager is added to AbstractBasicAuth,
which means the proxy handler also now can handle prior auth if passed
the new password manager.
Patch by Akshit Khurana, docs mostly by me.
|
|\| |
| | |
| | |
| | | |
socket if the FTP connection failed to fix a ResourceWarning.
|
| | |
| | |
| | |
| | | |
the FTP connection failed to fix a ResourceWarning.
|
|\| | |
|
| | |
| | |
| | |
| | | |
check_hostname parameter
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This auth handler adds the Authorization header to the first
HTTP request rather than waiting for a HTTP 401 Unauthorized
response from the server as the default HTTPBasicAuthHandler
does.
This allows working with websites like https://api.github.com which do
not follow the strict interpretation of RFC, but more the dicta in the
end of section 2 of RFC 2617:
> A client MAY preemptively send the corresponding Authorization
> header with requests for resources in that space without receipt
> of another challenge from the server. Similarly, when a client
> sends a request to a proxy, it may reuse a userid and password in
> the Proxy-Authorization header field without receiving another
> challenge from the proxy server. See section 4 for security
> considerations associated with Basic authentication.
Patch by Matej Cepl.
|
|/ /
| |
| |
| |
| |
| | |
as an argument which will then used be for HTTPS connection.
Patch by Alex Gaynor.
|
| |
| |
| |
| | |
response is received. Patch by Martin Panter.
|
| |
| |
| |
| | |
Initial patch by Sam Bull.
|
| | |
|
| |
| |
| |
| | |
Initial patch by Sam Bull.
|
| | |
|
| |
| |
| |
| |
| |
| | |
it (closes #21463)
Patch by Skyler Leigh Amador.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
create SSLContext objects in Python's stdlib module. It provides a single
configuration point and makes use of SSLContext.load_default_certs().
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
ModuleNotFoundError.
|
|\|
| |
| |
| |
| |
| |
| | |
Fix #17967 - Fix related to regression on Windows.
os.path.join(*self.dirs) produces an invalid path on windows.
ftp paths are always forward-slash seperated like this. /pub/dir.
|
| |
| |
| |
| |
| | |
os.path.join(*self.dirs) produces an invalid path on windows.
ftp paths are always forward-slash seperated like this. /pub/dir.
|
|\|
| |
| |
| |
| |
| | |
Fix thishost helper funtion in urllib. Returns the ipaddress of localhost when
hostname is resolvable by socket.gethostname for local machine. This all fixes
certain freebsd builtbot failures.
|
| |
| |
| |
| |
| | |
hostname is resolvable by socket.gethostname for local machine. This all fixes
certain freebsd builtbot failures.
|
|\|
| |
| |
| |
| |
| | |
Fix #17967: For ftp urls CWD to target instead of hopping to each directory
towards target. This fixes a bug where target is accessible, but parent
directories are restricted.
|
| |
| |
| |
| |
| | |
towards target. This fixes a bug where target is accessible, but parent
directories are restricted.
|
| |
| |
| |
| |
| |
| | |
result under all circumstances.
Document the change of Request.full_url to a property.
|
|\| |
|