]>
git.ipfire.org Git - thirdparty/httpx.git/log
can [Thu, 5 Sep 2019 07:40:06 +0000 (10:40 +0300)]
added hstspreload in Dependencies docs
Tom Christie [Wed, 4 Sep 2019 13:18:12 +0000 (14:18 +0100)]
Merge pull request #314 from dobrovolsky/drop_npn
Drop NPN support
Dobrovolsky Bogdan [Wed, 4 Sep 2019 13:01:29 +0000 (16:01 +0300)]
Remove NPN support
Yeray Diaz Diaz [Wed, 4 Sep 2019 11:43:24 +0000 (12:43 +0100)]
Add test for origin from URL string (#312)
Seth Michael Larson [Mon, 2 Sep 2019 21:12:52 +0000 (16:12 -0500)]
Add os.environ fixture (#308)
Florimond Manca [Sun, 1 Sep 2019 21:01:14 +0000 (23:01 +0200)]
Refactor client functionality into middleware (#268)
Co-authored-by: yeraydiazdiaz <yeraydiazdiaz@gmail.com>
* Dispatcher middlewares
* Redirect and BasicAuth dispatchers
* Remove HTTPBasicAuth and reinstate trust_env logic
* Call resolve dispatcher correctly
* Fix redirection tests
* Add basic and custom auth dispatchers
* Reinstate extracting cookies from response
* Fix linting
* Refactor middleware interface
Tomás Farías [Sun, 1 Sep 2019 13:01:11 +0000 (10:01 -0300)]
Add support for SSLKEYLOGFILE (#301)
* Skip test if OpenSSL version is lower than 1.1.1
* Use bionic dist for Python 3.8 job
* Pass trust_env to SSLConfig use monkeypatch in testing
* Don't raise KeyError if SSLKEYLOGFILE is not set
* Move trust_env after verify and cert
Bakhtiyor Ruziev [Sun, 1 Sep 2019 07:07:22 +0000 (10:07 +0300)]
Add server.url property in tests (#300)
* Add server.url to test server
* Move a property to top of the class
Florimond Manca [Sat, 31 Aug 2019 14:09:35 +0000 (16:09 +0200)]
Tighten up response.next() (#297)
Florimond Manca [Thu, 29 Aug 2019 21:17:14 +0000 (23:17 +0200)]
Serve test server in thread (#292)
Min ho Kim [Thu, 29 Aug 2019 17:14:15 +0000 (03:14 +1000)]
Fix typos in comments (#294)
Seth Michael Larson [Thu, 29 Aug 2019 12:19:02 +0000 (07:19 -0500)]
Release 0.7.2 (#291)
toppk [Wed, 28 Aug 2019 00:25:30 +0000 (20:25 -0400)]
Automatically convert Client.cookies and Client.headers on set (#274)
Jt Miclat [Tue, 27 Aug 2019 16:51:36 +0000 (00:51 +0800)]
Allow per file running of tests (#287)
* Allow per file running of tests
* Simply PR
Seth Michael Larson [Tue, 27 Aug 2019 16:43:13 +0000 (11:43 -0500)]
Add easier debug logging for users (#277)
Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>
Jt Miclat [Tue, 27 Aug 2019 16:08:50 +0000 (00:08 +0800)]
Stop running nox on first error (#286)
Seth Michael Larson [Tue, 27 Aug 2019 12:54:11 +0000 (07:54 -0500)]
Force HTTP/1.1 on short-lived connections (#284)
Florimond Manca [Mon, 26 Aug 2019 20:16:51 +0000 (22:16 +0200)]
Add tests to known first parties in isort config (#279)
Florimond Manca [Sun, 25 Aug 2019 18:25:18 +0000 (20:25 +0200)]
Parametrize tests with concurrency backend (#273)
* Parametrize tests with concurrency backend
* Refactor server restart
* Add no-backend test
Seth Michael Larson [Sat, 24 Aug 2019 15:04:14 +0000 (10:04 -0500)]
Add ConcurrencyBackend.start_tls() (#263)
Florimond Manca [Fri, 23 Aug 2019 12:04:21 +0000 (14:04 +0200)]
Add missing async test cases (#269)
Seth Michael Larson [Fri, 23 Aug 2019 12:00:13 +0000 (07:00 -0500)]
Rely on codecov for 100% project coverage (#264)
Florimond Manca [Fri, 23 Aug 2019 00:26:09 +0000 (02:26 +0200)]
Add backend param to ASGIDispatcher (#270)
Hugo van Kemenade [Thu, 22 Aug 2019 15:30:02 +0000 (18:30 +0300)]
Travis sudo no longer required for Xenial (#266)
Florimond Manca [Wed, 21 Aug 2019 21:11:12 +0000 (23:11 +0200)]
Remove usage of loop.create_task in ASGIDispatch (#261)
* Remove usage of loop.create_task in ASGIDispatch
* Add comment about usage of background manager
* Update comment
Tom Christie [Wed, 21 Aug 2019 08:38:39 +0000 (09:38 +0100)]
Merge pull request #255 from encode/refactor/stream-interface
Unify BaseReader and BaseWriter as BaseStream
florimondmanca [Wed, 21 Aug 2019 07:12:01 +0000 (09:12 +0200)]
Encapsulate http_version into BaseStream
florimondmanca [Tue, 20 Aug 2019 20:53:47 +0000 (22:53 +0200)]
Unify BaseReader and BaseWriter as BaseStream
Florimond Manca [Wed, 21 Aug 2019 07:02:04 +0000 (09:02 +0200)]
Add BaseEvent interface (#260)
Tom Christie [Wed, 21 Aug 2019 06:35:01 +0000 (07:35 +0100)]
Refactor interfaces (#252)
* Move Dispatcher, AsyncDispatcher into dispatch/base.py
* Move concurrency interfaces into concurrency/base.py
Can Sarıgöl [Tue, 20 Aug 2019 22:39:05 +0000 (01:39 +0300)]
Raise TypeError if invalid parameter for HTTPVersionConfig (#253)
Florimond Manca [Tue, 20 Aug 2019 22:25:46 +0000 (00:25 +0200)]
Add BaseQueue interface (#257)
Tom Christie [Tue, 20 Aug 2019 14:16:28 +0000 (15:16 +0100)]
Merge pull request #241 from encode/protocol-support
Allow configuration of supported HTTP protocol versions.
Tom Christie [Tue, 20 Aug 2019 14:15:53 +0000 (15:15 +0100)]
Drop Protocol str enum class in favor of plain old strings (#251)
* Drop Protocol str enum class in favor of plain old strings
* Drop unused import
Tom Christie [Tue, 20 Aug 2019 14:15:38 +0000 (15:15 +0100)]
Response.protocol -> Response.http_version (#250)
* Response.protocol -> Response.http_version
* Update docs
Tom Christie [Tue, 20 Aug 2019 13:30:23 +0000 (14:30 +0100)]
Drop unused import
Tom Christie [Tue, 20 Aug 2019 13:26:43 +0000 (14:26 +0100)]
Address review comments
Tom Christie [Tue, 20 Aug 2019 13:17:26 +0000 (14:17 +0100)]
Drop Protocol str enum class in favor of plain old strings
Tom Christie [Tue, 20 Aug 2019 12:30:54 +0000 (13:30 +0100)]
Add Client(http_versions=...) support
Tom Christie [Tue, 20 Aug 2019 12:08:24 +0000 (13:08 +0100)]
Merge branch 'master' into protocol-support
Tom Christie [Tue, 20 Aug 2019 11:58:03 +0000 (12:58 +0100)]
Drop unneccessary 'sorted'
Tom Christie [Tue, 20 Aug 2019 11:56:19 +0000 (12:56 +0100)]
Added http_versions to dispatch interface
Tom Christie [Tue, 20 Aug 2019 11:33:28 +0000 (12:33 +0100)]
Test coverage for HTTPVersionConfig
Florimond Manca [Tue, 20 Aug 2019 11:27:58 +0000 (13:27 +0200)]
Turn concurrency.py into its own sub-package (#244)
Tom Christie [Tue, 20 Aug 2019 11:21:07 +0000 (12:21 +0100)]
'Protocols' -> 'HTTPVersions'
Tom Christie [Tue, 20 Aug 2019 11:03:55 +0000 (12:03 +0100)]
Merge branch 'protocol-support' of https://github.com/encode/httpx into protocol-support
Can Sarıgöl [Tue, 20 Aug 2019 10:48:28 +0000 (13:48 +0300)]
fixed __repr__ function of Headers and Url classes (#222)
Tom Christie [Tue, 20 Aug 2019 10:37:37 +0000 (11:37 +0100)]
Simplify ASGI concurrency (#248)
* Drop keyword argument
* Improve docstrings for WSGIDispatch and ASGIDispatch
* Add docs for fine grained WSGI/ASGI control
* Simplify concurrency handling in ASGIDispatch
* Variable renaming
* Fix missing nonlocal declaration
* Split nonlocal onto multiple lines
Tom Christie [Mon, 19 Aug 2019 19:19:40 +0000 (20:19 +0100)]
Use correct protocol idents when loading ssl context
Tom Christie [Mon, 19 Aug 2019 19:13:37 +0000 (20:13 +0100)]
Initial pass at configuring supported protocol versions
Can Sarıgöl [Mon, 19 Aug 2019 15:12:01 +0000 (18:12 +0300)]
added control to calling decode for empty contents (#237)
* added tests for all decoder
* fixed BrotliDecoder for b"" value
Tom Christie [Mon, 19 Aug 2019 15:09:11 +0000 (16:09 +0100)]
Drop `raise_app_exceptions` Client argument. (#238)
* Drop `raise_app_exceptions` keyword argument
* Improve docstrings for WSGIDispatch and ASGIDispatch
* Add docs for fine grained WSGI/ASGI control
Ordanis Sanchez [Sun, 18 Aug 2019 19:44:24 +0000 (15:44 -0400)]
Release semaphore if connection is dropped (#230)
Florimond Manca [Sun, 18 Aug 2019 14:41:37 +0000 (16:41 +0200)]
Enforce that sync client uses asyncio-based backend (#232)
Seth Michael Larson [Sun, 18 Aug 2019 10:19:14 +0000 (05:19 -0500)]
Release 0.7.1 (#234)
Florimond Manca [Sun, 18 Aug 2019 10:06:59 +0000 (12:06 +0200)]
Install package locally in test-requirements.txt (#231)
Seth Michael Larson [Sat, 17 Aug 2019 20:11:30 +0000 (15:11 -0500)]
Release 0.7.0 (#228)
Seth Michael Larson [Sat, 17 Aug 2019 20:03:50 +0000 (15:03 -0500)]
Add CHANGELOG.md for tracking releases (#227)
Seth Michael Larson [Sat, 17 Aug 2019 18:19:08 +0000 (13:19 -0500)]
Skip coverage on breaks right before returns for Python 3.8 (#226)
Can Sarıgöl [Sat, 17 Aug 2019 16:07:04 +0000 (19:07 +0300)]
Documented netrc support (#225)
Can Sarıgöl [Sat, 17 Aug 2019 15:09:49 +0000 (18:09 +0300)]
Add trust_env property to BaseClient (#187)
Saugat Pachhai [Sat, 17 Aug 2019 08:40:34 +0000 (14:25 +0545)]
Use chained comparison in status codes for error and success
Saugat Pachhai [Sat, 17 Aug 2019 08:37:01 +0000 (14:22 +0545)]
Fix typos in docstrings
euri10 [Fri, 16 Aug 2019 14:18:52 +0000 (16:18 +0200)]
Add --diff flag to Black for easier debugging (#219)
euri10 [Fri, 16 Aug 2019 14:07:52 +0000 (16:07 +0200)]
Added links property to BaseResponse (#211)
* Added docstring and better typing for parsed_header_links
* Added docstring and better typing for links property
Added tests for it too
* Added --diff to black check to see where CI fails
Relaxed travis build on master only
* Fixed black issue removing a \t
* Put noxfile and travis.yml as they were before
Seth Michael Larson [Thu, 15 Aug 2019 03:30:02 +0000 (22:30 -0500)]
Accept SSLContext into SSLConfig(verify=...) (#215)
Seth Michael Larson [Thu, 15 Aug 2019 02:56:17 +0000 (21:56 -0500)]
Implement Response.stream_text() (#183)
Can Sarıgöl [Thu, 15 Aug 2019 02:45:28 +0000 (05:45 +0300)]
Fail unit tests without 100% coverage (#206)
Can Sarıgöl [Thu, 15 Aug 2019 02:38:43 +0000 (05:38 +0300)]
Rely on IRIReference.encode() for IDNA encoding (#210)
Humberto Rocha [Thu, 15 Aug 2019 02:37:44 +0000 (23:37 -0300)]
Add additional info to Contributing Guide (#213)
Can Sarıgöl [Thu, 15 Aug 2019 02:30:01 +0000 (05:30 +0300)]
Run SSLConfig cert loading in threadpool (#209)
Tammo Behrends [Wed, 14 Aug 2019 11:22:12 +0000 (13:22 +0200)]
Explicitly check is_redirect in simple test case (#208)
Humberto Rocha [Tue, 13 Aug 2019 21:27:00 +0000 (18:27 -0300)]
Move all tooling configuration to setup.cfg (#204)
Can Sarıgöl [Tue, 13 Aug 2019 14:22:18 +0000 (17:22 +0300)]
Add flake8-comprehensions to nox check task (#200)
* fixed as flake8-comprehensions
* added site folder into gitignore
Seth Michael Larson [Tue, 13 Aug 2019 13:39:35 +0000 (08:39 -0500)]
Use nox for automation and CI (#128)
Yeray Diaz Diaz [Tue, 13 Aug 2019 11:44:23 +0000 (12:44 +0100)]
Remove "Host" header on redirects if URL origin has changed (#199)
Fixes #198
* Reinstate accidentally removed return statement
Quentin Pradet [Fri, 9 Aug 2019 13:10:59 +0000 (17:10 +0400)]
Fix invalid Content-Encoding header test (#197)
Stephen Brown II [Fri, 9 Aug 2019 02:42:26 +0000 (20:42 -0600)]
Use pathlib.Path instead of os.path functions (#188)
Andreas Bernacca [Fri, 9 Aug 2019 02:33:55 +0000 (04:33 +0200)]
Ignore Content-Encoding headers that are invalid (#196)
Humberto Rocha [Tue, 6 Aug 2019 21:52:54 +0000 (18:52 -0300)]
Create a Contributing page in the documentation (#190)
Andrew M. White [Tue, 6 Aug 2019 17:18:34 +0000 (10:18 -0700)]
Enable mypy to discover type hints as specified in PEP 561 (#194)
Can Sarıgöl [Tue, 6 Aug 2019 13:31:04 +0000 (16:31 +0300)]
Check `~/.netrc` and `~/_netrc` files by default (#189)
halbow [Tue, 6 Aug 2019 13:20:48 +0000 (15:20 +0200)]
Added base class HTTPError with request/response attribute (#162)
Seth Michael Larson [Thu, 1 Aug 2019 09:26:45 +0000 (04:26 -0500)]
Move HSTS preload checking to client (#184)
Can Sarıgöl [Thu, 1 Aug 2019 08:32:00 +0000 (11:32 +0300)]
added netrc support (#177)
Seth Michael Larson [Wed, 31 Jul 2019 23:27:10 +0000 (18:27 -0500)]
Convert DataEvent.data from bytearray to bytes (#182)
Stephen Brown II [Wed, 31 Jul 2019 13:41:40 +0000 (08:41 -0500)]
Update IDNA encoding to 2008 spec (#161)
* Update IDNA encoding to 2008 spec
* Add Unicode IDNA Compatibility Processing
* Parametrize idna test
* Use rfc3986 iri_reference for IDNA names
* Add test for IRI object
* Remove test_iri as this interface has been removed
Tom Christie [Tue, 30 Jul 2019 23:27:20 +0000 (00:27 +0100)]
Tweak query param types (#175)
* Tweak query param types
* Handle primitive data types for queryparams
* QueryParam keys as str-only, not PrimitiveData
Seth Michael Larson [Tue, 30 Jul 2019 22:47:44 +0000 (17:47 -0500)]
Expose base classes for alternate backends (#178)
Tom Christie [Tue, 30 Jul 2019 00:46:15 +0000 (01:46 +0100)]
Remove 'URIReference' from public interfaces (#170)
Nik [Mon, 29 Jul 2019 03:16:37 +0000 (06:16 +0300)]
Fixed multipart header params encoding (#167)
Stephen Brown II [Mon, 29 Jul 2019 02:43:06 +0000 (21:43 -0500)]
Make Origin use scheme, not is_ssl (#168)
Stephen Brown II [Mon, 29 Jul 2019 01:39:35 +0000 (20:39 -0500)]
Allow setting headers at the Client level (#159)
Seth Michael Larson [Sun, 28 Jul 2019 17:02:21 +0000 (12:02 -0500)]
Switch hosts on HSTS preload to HTTPS (#151)
Can Sarıgöl [Sun, 28 Jul 2019 16:40:05 +0000 (19:40 +0300)]
Add additional flake8 plugins (#157)
halbow [Sat, 27 Jul 2019 16:32:01 +0000 (18:32 +0200)]
Added support for Google's Brotli library (#156)
* Ignore coverage for brotli decompression
* Updated assert comment for brotli and brotlipy
halbow [Sat, 27 Jul 2019 05:03:12 +0000 (07:03 +0200)]
Removed deprecated TLS versions (#155)
Tom Christie [Thu, 25 Jul 2019 22:01:03 +0000 (23:01 +0100)]
Fix `URL.join(...)` (#144)
Tom Christie [Thu, 25 Jul 2019 21:53:31 +0000 (22:53 +0100)]
Version 0.6.8
Tom Christie [Thu, 25 Jul 2019 21:52:41 +0000 (22:52 +0100)]
Check disconnections on connection reacquiry (#145)
* Detect EOF signaling remote server closed connection
Raise ConnectionClosedByRemote and handle on `send`
* Fix linting
* Use existing NotConnected exception
* Add `Reader.is_connection_dropped` method
* Check connection before sending h11 events as well
* Add test covering connection lost before reading response content
* Check for connection closed on acquiring it from the pool
* Clean up ConnectionPool logic around reaquiry of connections