Commit Graph

31 Commits

Author SHA1 Message Date
Tom Christie
97d488a95c
Version 0.13.0.dev2 (#941)
* Update __version__.py

* Update CHANGELOG.md

* Update setup.py

* Update CHANGELOG.md
2020-05-12 10:20:22 +01:00
Jamie Hewland
d568ecda53
ASGI: Wait for response to complete before sending disconnect message (#919)
* asgi: Wait for response to complete before sending disconnect message

* Dial back type checking + remove concurrency module

* Remove somewhat redundant comment
2020-05-12 10:06:53 +01:00
Yeray Diaz Diaz
560b119d32
Version 0.13.0.dev1 (#935) 2020-05-06 15:49:00 +01:00
Tom Christie
bed3d8bd38
Version 0.13.0.dev0 (#915)
* Version 0.13.0.dev0

* Bump httpcore

* Include packaging in requirements

* Include note on UDS support

* Update CHANGELOG
2020-04-30 17:09:49 +01:00
Tom Christie
3046e920ea
Httpcore interface (#804)
* First pass as switching dispatchers over to httpcore interface

* Updates for httpcore interface

* headers in dispatch API as plain list of bytes

* Integrate against httpcore 0.6

* Integrate against httpcore interface

* Drop UDS, since not supported by httpcore

* Fix base class for mock dispatchers in tests

* Merge master and mark as potential '0.13.dev0' release
2020-04-08 13:32:10 +01:00
Hugo van Kemenade
956129fbf7 Add docs and repo to project_urls metadata (#753)
* Add docs and repo to project_urls metadata

For programmatic access to metadata on PyPI.

* Add Trove classifier: Python 3 Only
2020-01-13 10:26:31 +00:00
Tom Christie
2c5fdc51f4
Version 0.11.0 (#737)
* Version 0.11.0

* Update CHANGELOG.md

Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>

* Update CHANGELOG.md

Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>

* Update CHANGELOG.md

Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>

* Bump status to beta

* Update release date to today

* Update changelog

* Use www.python-httpx.org domain

Co-authored-by: Florimond Manca <florimond.manca@gmail.com>
2020-01-09 09:35:56 +00:00
Tom Christie
ee37a762ef
Reintroduce sync API. (#735)
* BaseClient and AsyncClient

* Introduce 'httpx.Client'

* Top level API -> sync

* Top level API -> sync

* Add WSGI support, drop deprecated imports

* Wire up timeouts to urllib3

* Wire up pool_limits

* Add urllib3 proxy support

* Pull #734 into sync Client

* Update AsyncClient docstring

* Simpler WSGI implementation

* Set body=None when no content

* Wrap urllib3 connection/read exceptions
2020-01-08 12:31:50 +00:00
Tom Christie
bb6ab205fe
Upgrade h11 to support both 0.8 and 0.9 (#658) 2019-12-20 15:14:30 +00:00
han-solo
d223de8ff3 Fixed version requirement for rfc3986. Issue reference #504 (#589) 2019-12-04 10:05:33 +00:00
Tom Christie
3cbe7315e8
Concurrency autodetection (#585)
* Simplify HTTP version config, and switch HTTP/2 off by default

* HTTP/2 docs

* HTTP/2 interlinking in docs

* Add concurrency auto-detection

* Add sniffio
2019-12-02 19:26:16 +00:00
Quentin Pradet
7f76a642a8 Add AsyncIO and Trio trove classifiers (#416) 2019-10-01 09:30:20 +02:00
Florimond Manca
f0e56c8f2d Remove trio redundant extra (#390) 2019-09-26 06:02:25 -05:00
Florimond Manca
08355c62f5 Add trio concurrency backend (#276) 2019-09-21 11:10:20 -05:00
Florimond Manca
061d943b78 Add zip_safe=False to setup() (#361)
This fixes `py.typed` not being included in the built package
2019-09-19 11:13:20 -05:00
Seth Michael Larson
8c456e48e9
Release 0.7.2 (#291) 2019-08-29 07:19:02 -05:00
Seth Michael Larson
caba78568e
Release 0.7.1 (#234) 2019-08-18 05:19:14 -05:00
Seth Michael Larson
345a46d6aa
Add CHANGELOG.md for tracking releases (#227) 2019-08-17 15:03:50 -05:00
Stephen Brown II
fde30b8d14 Use pathlib.Path instead of os.path functions (#188) 2019-08-08 21:42:25 -05:00
Andrew M. White
c7a5ce7dff Enable mypy to discover type hints as specified in PEP 561 (#194) 2019-08-06 12:18:34 -05:00
Seth Michael Larson
3ba2e8c328
Switch hosts on HSTS preload to HTTPS (#151) 2019-07-28 12:02:21 -05:00
Tom Christie
219ece023a Rename -> httpx 2019-07-19 15:20:15 +01:00
Seth Michael Larson
c1044cab84 Start using flake8, fix lint issues (#126) 2019-07-18 11:41:50 +01:00
Tom Christie
025240c3b3
Check for connection aliveness on pool re-acquiry (#111)
* Check for connection aliveness on pool re-acquiry

* Test for connection re-acquiry with HTTP/2

* nocover on HTTP/1.1 ConnectionResetError, since we're testing the equivelent on HTTP/2

* Fix setup.py to read version from __version__
2019-07-08 15:57:29 +01:00
Tom Christie
c9747aa357
http3 (#86)
* Start fleshing out documentation

* Docs work

* http3

* Update docs

* Include lowercase status codes, for requests compat

* Updating docs

* Docs tweaks
2019-06-12 15:02:16 +01:00
Tom Christie
b948798414 Add idna support. More tests. 2019-05-01 10:58:58 +01:00
Tom Christie
302fe93df9 Use rfc3986 for URL handling 2019-04-30 17:39:40 +01:00
Tom Christie
d8df61b44b Add response.text and response.encoding 2019-04-30 16:35:25 +01:00
Tom Christie
abe46b8a0e Add h2 to install_requires 2019-04-24 19:38:53 +01:00
Tom Christie
63d73ad554 Rejig response streaming/closing 2019-04-16 14:04:17 +01:00
Tom Christie
a75bc0ebcd Initial commit 2019-04-04 13:27:55 +01:00