Davit Tovmasyan
2f2a4e4ef0
Document the files parameter on .post(), .patch(), and .put() ( #409 ) ( #414 )
2019-10-03 19:47:19 -05:00
Jt Miclat
85fa89c49c
Document compatibility difference for get, delete, head, and options ( #418 )
2019-10-03 19:46:24 -05:00
Josep Cugat
9e1cc26f8a
Build and upload universal wheels to PyPI ( #439 )
2019-10-03 16:35:38 -05:00
Josep Cugat
86a0eb0268
Revert "Use Python 3.8 asyncio.Stream where possible ( #369 )" ( #423 )
...
This reverts commit 71cbde8ba4 .
2019-10-03 09:18:10 +01:00
Kyle Galbraith
b65bce5924
Fix typos, spelling issues, and grammar in docs ( #426 )
2019-10-02 11:46:54 -05:00
Seth Michael Larson
9bbd0409ab
Python 3.8-dev builds on Travis ( #425 )
2019-10-02 10:34:00 -05:00
Josep Cugat
a0282569d5
Make HTTPError importable from the top-level ( #421 )
2019-10-01 13:37:05 -05:00
Stephen Brown II
db3e3a0231
Add flake8-pie plugin ( #419 )
2019-10-01 12:02:29 -05:00
Quentin Pradet
7f76a642a8
Add AsyncIO and Trio trove classifiers ( #416 )
2019-10-01 09:30:20 +02:00
Dustin Ingram
5df822ca11
Fix broken docs ( #415 )
...
* Fix broken link to parallel request page
* Fix incomplete code block on quickstart page
2019-09-30 20:19:53 +01:00
Seth Michael Larson
05f5dc26de
Get test suite back to ~100% line coverage ( #406 )
2019-09-29 13:58:22 -05:00
Ahmed Maher
5ced56b5b5
Expose ASGIDispatch & WSGIDispatch in the 'dispatch' namespace. ( #407 )
2019-09-28 14:55:19 -05:00
Jt Miclat
ea137a96d9
Fix wrongly deleted params introduced #408 ( #410 )
2019-09-28 19:47:26 +02:00
Jamie Hewland
71cbde8ba4
Use Python 3.8 asyncio.Stream where possible ( #369 )
2019-09-28 12:23:14 -05:00
Jt Miclat
6752f7d6f6
Remove data, json and files parameters in delete() function ( #408 )
2019-09-28 12:18:40 -05:00
Florimond Manca
640667d81d
Release 0.7.4 ( #388 )
2019-09-26 13:45:38 +02:00
Florimond Manca
3496525d02
Document supported async libraries ( #387 )
...
* Document supported async libraries
* Update async.md
2019-09-26 13:43:56 +02:00
Florimond Manca
f0e56c8f2d
Remove trio redundant extra ( #390 )
2019-09-26 06:02:25 -05:00
Seth Michael Larson
336d22d73a
Propogate HTTPProxy config from Client( #377 )
2019-09-25 07:17:20 -05:00
Florimond Manca
cadb9a4d4c
Fix bug when using client without timeouts in Python 3.6 ( #383 )
2019-09-25 06:31:50 -05:00
Jamie Hewland
276ee737ba
Run isort in the nox check session ( #379 )
2019-09-24 21:43:21 +02:00
Seth Michael Larson
0fa55bb6d4
Add debug logging to SSLConfig ( #378 )
2019-09-24 17:02:46 +02:00
Florimond Manca
e62e5c3758
Add debug logs to ASGIDispatch ( #371 )
...
* Add debug logs to ASGIDispatch
* Tidy up ASGIDispatch
* Log entire scope and ASGI messages
* Obfuscate sensitive headers using common utility
* Update utils.py
2019-09-23 22:49:24 +02:00
Can Sarıgöl
c9810a79d9
Add support for SSL_CERT_FILE and SSL_CERT_DIR ( #307 )
2019-09-23 10:24:53 -05:00
秋葉
1b82a2a716
Fix invalid f-string ( #375 )
2019-09-23 09:53:50 -05:00
Tyrel Souza
5dc646fb9f
Adding params to Client ( #372 )
2019-09-23 09:22:21 -05:00
Seth Michael Larson
b574230f90
Remove ENABLE_CONNECT_PROTOCOL from HTTP/2 Settings ( #373 )
2019-09-22 17:37:57 -05:00
Florimond Manca
e1da6b9194
Add tool for profiling ( #364 )
2019-09-21 12:02:02 -05:00
Florimond Manca
08355c62f5
Add trio concurrency backend ( #276 )
2019-09-21 11:10:20 -05:00
Florimond Manca
12752466ae
Document the release process ( #363 )
...
* Document release process
* Update changelog instructions w/ ref to keepachangelog
* Prettify bullet points
* Add docs deploy to release script
2019-09-21 09:12:53 +02:00
Florimond Manca
7a08aaa536
Release 0.7.3 ( #362 )
...
* Release 0.7.3
* Put Removed before Fixed
* Add reference to keepachangelog
* Add HTTP Proxy entry
2019-09-20 21:05:02 +02:00
Seth Michael Larson
b0fa0859a8
Configure Proxy from Client ( #353 )
...
* Incorporate suggestions
* Start of proxy config
* Incorporate suggestions
* Add proxies to high-level API, docs
* Update client.py
2019-09-20 12:33:06 -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
Jamie Hewland
338a360785
Use a certificate issued from the trustme CA in tests ( #357 )
2019-09-18 18:59:27 -05:00
Roy Williams
05ac117679
Add .elapsed onto Response objects tracking how long a request took. ( #351 )
...
* Add `.elapsed` onto Response objects tracking how long a request took.
* Move elapsed timing from send methods into _get_response
* Address feedback
* Update tests/test_api.py
Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>
2019-09-18 20:29:01 +02:00
Yeray Diaz Diaz
8155352d20
Document digest auth ( #348 )
...
* Document authentication
* Fix linting errors
* Tweak wording
* Update docs/quickstart.md
Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>
2019-09-16 12:50:00 +01:00
Florimond Manca
6c6148ec5c
Fix remaining references to BaseStream in tests ( #347 )
2019-09-16 08:34:26 +02:00
Florimond Manca
315a18b4cf
Stream -> TCPStream ( #339 )
2019-09-15 16:14:48 -05:00
Florimond Manca
4616031202
Document + recommend async with syntax for AsyncClient ( #344 )
2019-09-15 18:29:37 +02:00
Seth Michael Larson
57c27cac36
Implement HTTPProxy dispatcher ( #259 )
2019-09-15 10:47:35 -05:00
Florimond Manca
f1dde95d35
Test Requests entrypoints ( #330 )
...
* Test Requests entrypoints
* Show summary of unsuccessful tests
2019-09-12 23:24:33 +02:00
Paul (xobb) Chubatyy
0c4460e622
Add example of specifying HTTP versions ( #337 )
...
Closes #336
2019-09-12 22:39:22 +02:00
Yeray Diaz Diaz
1cd9156d5d
Additional DigestAuth tests ( #334 )
2019-09-11 07:25:11 -05:00
Yeray Diaz Diaz
fd3b69d2aa
Add DigestAuth middleware ( #332 )
...
* Remove global variable, just return response from auth request
* Add extra space to Digest header start assertion
* Prevent unpacking errors limiting the number of splits
2019-09-10 14:53:39 -05:00
Dobrovolsky Bogdan
08edfac37d
Add build_request to Client ( #319 )
...
* Update documentation
* Update documentation
* Update tests
Rename `_send` -> `_get_response`
Update documentation
* Code format with black
* Change documentation example to OPTIONS *
* Update documentation
Small code reformat
* `echo_headers` return json
* Simplify test
* Fix typo
2019-09-08 08:03:59 -05:00
Florimond Manca
71648ece09
Refactor middleware ( #325 )
...
* Split middleware into a subpackage
* Refactor basic auth header building
* Add encoding parameter to to_bytes()
2019-09-07 23:22:11 +02:00
Gaurav Dhameeja
0f34f3b60f
Raise KeyError if header isn't found in Headers ( #324 )
2019-09-07 16:12:37 -05:00
Florimond Manca
6b97b2ed00
Pin uvloop to fix 3.8-dev compilation issue ( #323 )
2019-09-06 23:32:38 -05:00
IsaacBenghiat
ab9cd0ea11
Fix bug in calculating maximum frame size ( #153 )
2019-09-06 13:06:20 -05:00
Gaurav Dhameeja
3065dd6b6c
Set Host header when redirecting cross-origin ( #321 )
2019-09-05 20:30:19 -05:00