requests
requests copied to clipboard
A simple, yet elegant, HTTP library.
I'd guess this has been requested before, but couldn't find any pointers so far. (I also understand that requests does not accept feature requests, but this is code-wise a trivial...
Docstrings still called this module as it was in python2.7; update them to use the name from python3. Mostly useful as a reference for people who need a custom cookiejar....
Didn't find a correct place where to post my question. Hook system is a cool idea but I'm wondered why there is no some kind of 'before_request' hook? Let's assume...
This issue is to merge the existing type hints available in typeshed ([here](https://github.com/python/typeshed/tree/master/stubs/requests)) into this repository. Currently, psf/requests supports only Python 3.7+ per https://github.com/psf/requests/blob/main/setup.py#L10 As a result, type-related code would...
When using the module requests to about 1M requests to a website, it started to begin requestsConnectionFailed, nodename already used errors, even used verify=False also ssl disable warning, how could...
A previously working lambda function started throwing this error. { "errorMessage": "Unable to import module 'app': cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_' (/var/task/urllib3/util/ssl_.py)", "errorType": "Runtime.ImportModuleError", "requestId": "30bf7245-a58f-4192-81e3-5d122fb31d11", "stackTrace": [] }...
URLs of the form `hostname:8080` (with no scheme, with "hostname" not containing any dots) can be used to refer to the netloc "hostname:8080" `requests.utils.prepend_scheme_if_needed` should correctly prepend the `new_scheme` when...
When I read the source code, I found that the `request` method misses parameter hooks in docstring
## Summary Adds support for any path-like object, including `pathlib.Path`. See https://github.com/psf/requests/issues/5936#issuecomment-931758148 for more details. Some things have changed since the linked issue was created, so it may be a...
make requests respect no_proxy settings bugfix attached ## Expected Result http requests to 'white listed urls' should bypass all proxies white listed urls, as defined in the no_proxy env var...