README.md
This file
Path
README.md
115 lines · 3.9 KiB · Markdown
Last changed by
Document digest auth (#348)Yeray Diaz Diazbefore adoption8155352
History of this fileTake it
The walk stopped after 200 commits: lines older than fe7d309 point at it.
Branding updates for httpx (#130)Tom Christiebefore adoption17bb165
line 1why, one step back1<p align="center">Update README.mdTom Christiebefore adoptionedd7029
line 2why, one step back2 <a href="https://www.encode.io/httpx/"><img width="350" height="208" src="https://raw.githubusercontent.com/encode/httpx/master/docs/img/logo.jpg" alt='HTTPX'></a>Branding updates for httpx (#130)Tom Christiebefore adoption17bb165
lines 3–4why, one step back3</p>4Update README.mdTom Christiebefore adoption0450142
line 5why, one step back5<p align="center"><strong>HTTPX</strong> <em>- A next-generation HTTP client for Python.</em></p>Update README.mdTom Christiebefore adoptionf7c5378
lines 6–7why, one step back67<p align="center">Renaming -> httpx (#129)Tom Christiebefore adoption2d09d5b
lines 8–9why, one step back8<a href="https://travis-ci.org/encode/httpx">9 <img src="https://travis-ci.org/encode/httpx.svg?branch=master" alt="Build Status">Update README.mdTom Christiebefore adoptionfe7d309
line 10why, one step back10</a>Renaming -> httpx (#129)Tom Christiebefore adoption2d09d5b
lines 11–12why, one step back11<a href="https://codecov.io/gh/encode/httpx">12 <img src="https://codecov.io/gh/encode/httpx/branch/master/graph/badge.svg" alt="Coverage">Update README.mdTom Christiebefore adoptionfe7d309
line 13why, one step back13</a>Renaming -> httpx (#129)Tom Christiebefore adoption2d09d5b
lines 14–15why, one step back14<a href="https://pypi.org/project/httpx/">15 <img src="https://badge.fury.io/py/httpx.svg" alt="Package version">Update README.mdTom Christiebefore adoptionfe7d309
line 16why, one step back16</a>Update README.mdTom Christiebefore adoptionf7c5378
line 17why, one step back17</p>Update README.mdTom Christiebefore adoptionfe7d309
line 18why, one step back18Tweak README (#87)Tom Christiebefore adoption9507ce2
line 19why, one step back19**Note**: *This project should be considered as an "alpha" release. It is substantially API complete, but there are still some areas that need more work.*Update README.mdTom Christiebefore adoption1e98f31
line 20why, one step back20Tweak README (#87)Tom Christiebefore adoption9507ce2
lines 21–25why, one step back21---2223Let's get started...2425```pythonRenaming -> httpx (#129)Tom Christiebefore adoption2d09d5b
lines 26–27why, one step back26>>> import httpx27>>> r = httpx.get('https://www.example.org/')Int status codes (#92)Tom Christiebefore adoption56a7943
lines 28–29why, one step back28>>> r29<Response [200 OK]>Tweak README (#87)Tom Christiebefore adoption9507ce2
line 30why, one step back30>>> r.status_codeInt status codes (#92)Tom Christiebefore adoption56a7943
line 31why, one step back31200Force HTTP/1.1 on short-lived connections (#284)Seth Michael Larsonbefore adoptione7aa6d6
lines 32–33why, one step back32>>> r.http_version33'HTTP/1.1'Tweak README (#87)Tom Christiebefore adoption9507ce2
lines 34–41why, one step back34>>> r.headers['content-type']35'text/html; charset=UTF-8'36>>> r.text37'<!doctype html>\n<html>\n<head>\n<title>Example Domain</title>...'38```3940## Features41Renaming -> httpx (#129)Tom Christiebefore adoption2d09d5b
line 42why, one step back42HTTPX builds on the well-established usability of `requests`, and gives you:Tweak README (#87)Tom Christiebefore adoption9507ce2
lines 43–45why, one step back4344* A requests-compatible API.45* HTTP/2 and HTTP/1.1 support.Renaming -> httpx (#129)Tom Christiebefore adoption2d09d5b
lines 46–48why, one step back46* Support for [issuing HTTP requests in parallel](https://www.encode.io/httpx/parallel/). *(Coming soon)*47* Standard synchronous interface, but [with `async`/`await` support if you need it](https://www.encode.io/httpx/async/).48* Ability to [make requests directly to WSGI or ASGI applications](https://www.encode.io/httpx/advanced/#calling-into-python-web-apps).Tweak README (#87)Tom Christiebefore adoption9507ce2
line 49why, one step back49* Strict timeouts everywhere.Update README.mdTom Christiebefore adoptionfe7d309
line 50why, one step back50* Fully type annotated.Update README.mdTom Christiebefore adoption23e0786
line 51why, one step back51* 100% test coverage.Update README.mdTom Christiebefore adoptionfe7d309
line 52why, one step back52Tweak README (#87)Tom Christiebefore adoption9507ce2
line 53why, one step back53Plus all the standard features of `requests`...Update README.mdTom Christiebefore adoptionfe7d309
lines 54–56why, one step back5455* International Domains and URLs56* Keep-Alive & Connection PoolingAdd cookie interfacesTom Christiebefore adoption0717998
line 57why, one step back57* Sessions with Cookie PersistenceUpdate README.mdTom Christiebefore adoptionfe7d309
line 58why, one step back58* Browser-style SSL VerificationDocument digest auth (#348)Yeray Diaz Diazbefore adoption8155352
line 59why, one step back59* Basic/Digest AuthenticationAdd cookie interfacesTom Christiebefore adoption0717998
line 60why, one step back60* Elegant Key/Value CookiesUpdate README.mdTom Christiebefore adoptionfe7d309
lines 61–63why, one step back61* Automatic Decompression62* Automatic Content Decoding63* Unicode Response BodiesAdd multipart docsTom Christiebefore adoptiond21e3ab
line 64why, one step back64* Multipart File UploadsSupport WSGI and ASGI apps. (#94)Tom Christiebefore adoptionbb86970
line 65why, one step back65* HTTP(S) Proxy Support *(TODO)*Update README.mdTom Christiebefore adoptionfe7d309
lines 66–67why, one step back66* Connection Timeouts67* Streaming DownloadsDocumented netrc support (#225)Can Sarıgölbefore adoption21939fd
line 68why, one step back68* .netrc SupportUpdate README.mdTom Christiebefore adoptionfe7d309
lines 69–70why, one step back69* Chunked Requests70Docs tweaksTom Christiebefore adoption60dca3d
lines 71–75why, one step back71## Installation7273Install with pip:7475```shellRenaming -> httpx (#129)Tom Christiebefore adoption2d09d5b
line 76why, one step back76$ pip install httpxDocs tweaksTom Christiebefore adoption60dca3d
lines 77–78why, one step back77```78Renaming -> httpx (#129)Tom Christiebefore adoption2d09d5b
line 79why, one step back79httpx requires Python 3.6+Docs tweaksTom Christiebefore adoption60dca3d
line 80why, one step back80Tweak README (#87)Tom Christiebefore adoption9507ce2
line 81why, one step back81## DocumentationUpdate README.mdTom Christiebefore adoptionfe7d309
line 82why, one step back82Renaming -> httpx (#129)Tom Christiebefore adoption2d09d5b
line 83why, one step back83Project documentation is available at [www.encode.io/httpx/](https://www.encode.io/httpx/).Update README.mdTom Christiebefore adoptionfe7d309
line 84why, one step back84Renaming -> httpx (#129)Tom Christiebefore adoption2d09d5b
line 85why, one step back85For a run-through of all the basics, head over to the [QuickStart](https://www.encode.io/httpx/quickstart/).Update README.mdTom Christiebefore adoptionfe7d309
line 86why, one step back86Renaming -> httpx (#129)Tom Christiebefore adoption2d09d5b
lines 87–89why, one step back87For more advanced topics, see the [Advanced Usage](https://www.encode.io/httpx/advanced/) section, or88the specific topics on making [Parallel Requests](https://www.encode.io/httpx/parallel/) or using the89[Async Client](https://www.encode.io/httpx/async/).Docs linksTom Christiebefore adoptionc2c87e1
line 90why, one step back90Renaming -> httpx (#129)Tom Christiebefore adoption2d09d5b
line 91why, one step back91The [Developer Interface](https://www.encode.io/httpx/api/) provides a comprehensive API reference.Update README.mdTom Christiebefore adoptionfe7d309
line 92why, one step back92Add additional info to Contributing Guide (#213)Humberto Rochabefore adoption7156c36
lines 93–96why, one step back93## Contribute9495If you want to contribute with HTTPX check out the [Contributing Guide](https://www.encode.io/httpx/contributing/) to learn how to start.96Update README.mdTom Christiebefore adoptionfe7d309
lines 97–98why, one step back97## Dependencies98Renaming -> httpx (#129)Tom Christiebefore adoption2d09d5b
line 99why, one step back99The httpx project relies on these excellent libraries:Tweak README (#87)Tom Christiebefore adoption9507ce2
line 100why, one step back100Update README.mdTom Christiebefore adoptionfe7d309
line 101why, one step back101* `h2` - HTTP/2 support.Add cookie interfacesTom Christiebefore adoption0717998
line 102why, one step back102* `h11` - HTTP/1.1 support.Update README.mdTom Christiebefore adoptionfe7d309
lines 103–104why, one step back103* `certifi` - SSL certificates.104* `chardet` - Fallback auto-detection for response encoding.Merge pull request #315 from cansarigol/hstspreload-docTom Christiebefore adoption67d96b6
line 105why, one step back105* `hstspreload` - determines whether IDNA-encoded host should be only accessed via HTTPS.Update README.mdTom Christiebefore adoptionfe7d309
lines 106–109why, one step back106* `idna` - Internationalized domain name support.107* `rfc3986` - URL parsing & normalization.108* `brotlipy` - Decoding for "brotli" compressed responses. *(Optional)*109Update READMETom Christiebefore adoption58461d4
line 110why, one step back110A huge amount of credit is due to `requests` for the API layout thatUpdate README.mdTom Christiebefore adoption84b9691
lines 111–112why, one step back111much of this work follows, as well as to `urllib3` for plenty of design112inspiration around the lower level networking details.Docs tweaksTom Christiebefore adoption60dca3d
lines 113–114why, one step back113114<p align="center">— ⭐️ —</p>Update README.mdTom Christiebefore adoption7511d7a
line 115why, one step back115<p align="center"><i>HTTPX is <a href="https://github.com/encode/httpx/blob/master/LICENSE.md">BSD licensed</a> code. Designed & built in Brighton, England.</i></p>