README.md
This file
Path
README.md
86 lines · 2.6 KiB · Markdown
Last changed by
Update README.mdTom Christiebefore adoption1e98f31
History of this fileTake it
http3 (#86)Tom Christiebefore adoptionc9747aa
line 1why, one step back1# HTTP3StuffTom Christiebefore adoption30530d4
line 2why, one step back2http3 (#86)Tom Christiebefore adoptionc9747aa
lines 3–4why, one step back3<a href="https://travis-ci.org/encode/http3">4 <img src="https://travis-ci.org/encode/http3.svg?branch=master" alt="Build Status">Merge pull request #43 from encode/badgesTom Christiebefore adoption3553625
line 5why, one step back5</a>http3 (#86)Tom Christiebefore adoptionc9747aa
lines 6–7why, one step back6<a href="https://codecov.io/gh/encode/http3">7 <img src="https://codecov.io/gh/encode/http3/branch/master/graph/badge.svg" alt="Coverage">Merge pull request #43 from encode/badgesTom Christiebefore adoption3553625
line 8why, one step back8</a>http3 (#86)Tom Christiebefore adoptionc9747aa
lines 9–10why, one step back9<a href="https://pypi.org/project/http3/">10 <img src="https://badge.fury.io/py/http3.svg" alt="Package version">Merge pull request #43 from encode/badgesTom Christiebefore adoption3553625
lines 11–12why, one step back11</a>12Tweak README (#87)Tom Christiebefore adoption9507ce2
line 13why, one step back13HTTP3 is a next-generation HTTP client for Python.Update READMETom Christiebefore adoption665743a
line 14why, one step back14Tweak README (#87)Tom Christiebefore adoption9507ce2
line 15why, one step back15**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 16why, one step back16Tweak README (#87)Tom Christiebefore adoption9507ce2
lines 17–42why, one step back17---1819Let's get started...2021```python22>>> import http323>>> r = http3.get('https://www.example.org/')24>>> r.status_code25<StatusCode.OK: 200>26>>> r.protocol27'HTTP/2'28>>> r.headers['content-type']29'text/html; charset=UTF-8'30>>> r.text31'<!doctype html>\n<html>\n<head>\n<title>Example Domain</title>...'32```3334## Features3536HTTP3 builds on the well-established usability of `requests`, and gives you:3738* A requests-compatible API.39* HTTP/2 and HTTP/1.1 support.40* Support for issuing HTTP requests in parallel.41* Standard synchronous interface, but with `async`/`await` support if you need it.42* Strict timeouts everywhere.Truckin' onTom Christiebefore adoption6b60d95
line 43why, one step back43* Fully type annotated.Update README.mdTom Christiebefore adoption23e0786
line 44why, one step back44* 100% test coverage.Update READMETom Christiebefore adoption665743a
line 45why, one step back45Tweak README (#87)Tom Christiebefore adoption9507ce2
line 46why, one step back46Plus all the standard features of `requests`...Update READMETom Christiebefore adoption665743a
line 47why, one step back47Truckin' onTom Christiebefore adoption6b60d95
lines 48–49why, one step back48* International Domains and URLs49* Keep-Alive & Connection PoolingAdd cookie interfacesTom Christiebefore adoption0717998
line 50why, one step back50* Sessions with Cookie PersistenceTruckin' onTom Christiebefore adoption6b60d95
line 51why, one step back51* Browser-style SSL VerificationTweak README (#87)Tom Christiebefore adoption9507ce2
line 52why, one step back52* Basic/Digest Authentication *Digest is still TODO*Add cookie interfacesTom Christiebefore adoption0717998
line 53why, one step back53* Elegant Key/Value CookiesTruckin' onTom Christiebefore adoption6b60d95
lines 54–56why, one step back54* Automatic Decompression55* Automatic Content Decoding56* Unicode Response BodiesTweak README (#87)Tom Christiebefore adoption9507ce2
line 57why, one step back57* Multipart File Uploads *TODO*Truckin' onTom Christiebefore adoption6b60d95
lines 58–60why, one step back58* HTTP(S) Proxy Support *TODO*59* Connection Timeouts60* Streaming DownloadsUpdate READMETom Christiebefore adoption58461d4
line 61why, one step back61* .netrc Support *TODO*Truckin' onTom Christiebefore adoption6b60d95
line 62why, one step back62* Chunked RequestsUpdate READMETom Christiebefore adoption665743a
line 63why, one step back63Tweak README (#87)Tom Christiebefore adoption9507ce2
line 64why, one step back64## DocumentationUpdate README.mdTom Christiebefore adoption01a3c09
line 65why, one step back65Tweak README (#87)Tom Christiebefore adoption9507ce2
line 66why, one step back66For a run-through of all the basics, head over to the [QuickStart](quickstart.md).Update README.mdTom Christiebefore adoption337eb70
line 67why, one step back67Tweak README (#87)Tom Christiebefore adoption9507ce2
line 68why, one step back68For more advanced topics, see the [Parallel Requests](parallel.md) or [Async Client](async.md) documentation.StuffTom Christiebefore adoption30530d4
line 69why, one step back69Tweak README (#87)Tom Christiebefore adoption9507ce2
line 70why, one step back70The [Developer Interface](api.md) provides a comprehensive API reference.StuffTom Christiebefore adoption30530d4
line 71why, one step back71Update READMETom Christiebefore adoption4fe2f69
lines 72–73why, one step back72## Dependencies73Tweak README (#87)Tom Christiebefore adoption9507ce2
lines 74–75why, one step back74The HTTP3 project relies on these excellent libraries:75Update READMETom Christiebefore adoption4fe2f69
line 76why, one step back76* `h2` - HTTP/2 support.Add cookie interfacesTom Christiebefore adoption0717998
line 77why, one step back77* `h11` - HTTP/1.1 support.Update READMETom Christiebefore adoption4fe2f69
lines 78–83why, one step back78* `certifi` - SSL certificates.79* `chardet` - Fallback auto-detection for response encoding.80* `idna` - Internationalized domain name support.81* `rfc3986` - URL parsing & normalization.82* `brotlipy` - Decoding for "brotli" compressed responses. *(Optional)*83Update READMETom Christiebefore adoption58461d4
line 84why, one step back84A huge amount of credit is due to `requests` for the API layout thatUpdate README.mdTom Christiebefore adoption84b9691
lines 85–86why, one step back85much of this work follows, as well as to `urllib3` for plenty of design86inspiration around the lower level networking details.