requests
requests copied to clipboard
A simple, yet elegant, HTTP library.
`LookupDict` absolutely includes all of the dict methods. In particular, it allows the use of `__setitem__` and other things from the dict class. It specifically does only one thing, which...
Added use cases and inheritance information for the common types of exceptions that are listed in docs/api.rst. Documentation already exists for the main interface, request sessions, and lower-level classes on...
### Description This PR adds minimum token permissions for the GITHUB_TOKEN in GitHub Actions workflows using https://github.com/step-security/secure-workflows. The GitHub Actions workflow has a GITHUB_TOKEN with write access to multiple scopes....
We wrap our secret a in special subclass of string, that prevents leaking confidential information in some circumstances (i.e. stack traces) etc. The current implementation of the header checks does...
requests project was moved to psf however there was another project toolbelt https://github.com/requests/toolbelt which is not maintained. according to https://github.com/requests/toolbelt/issues/322 it's suggested that psf might transfer ownership as it make...
Attempting to file a new feature request shows the text: > Requests is not accepting feature requests at this time. Fair enough, there must be reason for that (e.g. lack...
This PR is the same as #5664 but rebased on to the `main` branch to bring it back up to date. This PR is needed to stay compatible with future...
I found that packages.py is assigning sys.modules['requests.package.chardet'] over and over with different modules, is this intentional or a bug? I looked at the code and this `target` variable confuses me,...
while a website set header STRICT-TRANSPORT-SECURITY, it means tell browser use https, but requests is not judged ## Expected Result sometimes, developer set 302 and redirect website to http ....
We ran into an issue where the CaseInsensitiveDict is not JSON serializable. The fix is easy - wrap in dict(). But comments that clarify that this class is used on...