Skip to content
Requests 3.0, for Humans and Machines, alike. πŸ€–
Branch: master
Clone or download
Latest commit bf88e3a May 6, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci docker layer caching Apr 22, 2019
.github Change "StackOverflow" to "Stack Overflow" Jun 25, 2018
docs Update index.rst May 6, 2019
ext working! Apr 19, 2019
requests3 changes, everywhere Apr 21, 2019
tests fix Apr 21, 2019
.gitignore Fixing issue with circle ci, and updating hashes Apr 21, 2019
3.0-HISTORY.rst working! Apr 19, 2019
AUTHORS.rst Remove merge conflict collateral from AUTHORS.rst Apr 19, 2019 working! Apr 19, 2019 working! Apr 19, 2019
Dockerfile Update Dockerfile Apr 23, 2019 working! Apr 19, 2019
HISTORY.rst working! Apr 19, 2019
LICENSE working! Apr 19, 2019 working! Apr 19, 2019
Makefile working! Apr 19, 2019
Pipfile whatever Apr 23, 2019
Pipfile.lock Fixing issue with circle ci, and updating hashes Apr 21, 2019 Update May 6, 2019
docker-compose.yml ch ch changes Apr 23, 2019
pytest.ini working! Apr 19, 2019
setup.cfg working! Apr 19, 2019 changes for CI Apr 21, 2019

Requests III: HTTP for Humans and Machines, alike.

image image image image image

Requests III is an HTTP library for Python, built for Humans and Machines, alike. This repository is a work in progress, and the expected release timeline is "before PyCon 2020".


Behold, the power of Requests III:

>>> from requests import HTTPSession

# Make a connection pool.
>>> http = HTTPSession()

# Make a request.
>>> r = http.request('get', '')

# View response data.
>>> r.json()
{'ip': ''}


Requests III allows you to send organic, grass-fed HTTP/1.1 & HTTP/2 (wip) requests, without the need for manual thought-labor. There's no need to add query strings to your URLs, or to form-encode your POST data. Keep-alive and HTTP connection pooling are 100% automatic, as well.

Besides, all the cool kids are doing it. Requests is one of the most downloaded Python packages of all time, pulling in over ~1.6 million installations per day!

Feature Support

Requests III is ready for today's web.

  • Support for H11 & H2 protocols.
  • Type-annotations for all public-facing APIs.
  • Better defaults; required timeouts.
  • async/await keyword & asyncio support.
  • Compability with Python 3.6+.

While retaining all the features of Requests Classic:

  • International Domains and URLs
  • Keep-Alive & Connection Pooling
  • Sessions with Cookie Persistence
  • Browser-style SSL Verification
  • Basic/Digest Authentication
  • Elegant Key/Value Cookies
  • Automatic Decompression
  • Automatic Content Decoding
  • Unicode Response Bodies
  • Multipart File Uploads
  • HTTP(S) Proxy Support
  • Connection Timeouts
  • Streaming Downloads
  • .netrc Support
  • Chunked Requests

Satisfaction guaranteed.


Fantastic documentation is available at, for a limited time only.

How to Contribute

  1. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug. There is a Contributor Friendly tag for issues that should be ideal for people who are not very familiar with the codebase yet.
  2. Fork the repository on GitHub to start making your changes to the master branch (or branch off of it).
  3. Write a test which shows that the bug was fixed or that the feature works as expected.
  4. Send a pull request and bug the maintainer until it gets merged and published. :) Make sure to add yourself to AUTHORS.
You can’t perform that action at this time.