Contents

requests 2.31.0

0

Python HTTP for Humans.

Python HTTP for Humans.

Stars: 51286, Watchers: 51286, Forks: 9188, Open Issues: 273

The psf/requests repo was created 13 years ago and the last code push was Yesterday.
The project is extremely popular with a mindblowing 51286 github stars!

How to Install requests

You can install requests using pip

pip install requests

or add it to a project with poetry

poetry add requests

Package Details

Author
Kenneth Reitz
License
Apache 2.0
Homepage
https://requests.readthedocs.io
PyPi:
https://pypi.org/project/requests/
Documentation:
https://requests.readthedocs.io
GitHub Repo:
https://github.com/psf/requests

Classifiers

  • Internet/WWW/HTTP
  • Software Development/Libraries
No  requests  pypi packages just yet.

Errors

A list of common requests errors.

Code Examples

Here are some requests code examples and snippets.

GitHub Issues

The requests package has 273 open issues on GitHub

  • Fixing unicode surrogates in POST data lead to exception
  • 407 Proxy Authentication Required on 2.27.1
  • UnicodeDecodeError after following a chain of redirects
  • Support for proxy that requires DigestAuth
  • Requests: Python 2.7 Support and Deprecation
  • Possible issue with proxies and TLS versions when using a session.
  • Unicode surrogates in POST data lead to exception
  • For Morsel cookies requests expects wrong Expires time format
  • RequestsCookieJar._find_on_duplicates wrongly fails on cookie with empty value
  • Set encoding for +json media type suffix responses like application/json
  • Make chardet/charset_normalizer optional dependencies
  • Make chardet/charset_normalizer optional?
  • Document de-duplication of keys for params and data
  • Discrepancies between self-prepared and session-prepared request headers
  • Warn user if environment variables are used

See more issues on GitHub