Commit Graph

473 Commits

Author SHA1 Message Date
Florimond Manca
a5f9983037
Release 0.7.8 (#536) 2019-11-19 22:06:04 +01:00
Jonas Lundberg
2dbcaf859f Document mocking compatibility (#537) 2019-11-18 12:16:06 +00:00
Seth Michael Larson
331be99cbf Add support for proxy tunnels for Python 3.6 + asyncio. (#521)
* Backport start_tls() support for Python 3.6

* Remove version check in start_tls test
2019-11-17 12:50:54 +01:00
Tom Christie
6045ee242f
Version 0.7.7 (#532) 2019-11-15 21:56:02 +00:00
Tom Christie
5aca0c0172
Fix redirect cookie behavior (#529)
* Fix redirect cookie behavior
* Drop flake8-comprehensions
* Add redirect cookie tests
2019-11-15 21:31:15 +00:00
Jonas Lundberg
1a32cf036a Rename BaseTCPStream/TCPStream to BaseSocketStream/SocketStream (#517) 2019-11-08 17:09:38 +01:00
Florimond Manca
586acddd1a
Improve robustness of live HTTP/2 test (#512) 2019-11-08 00:35:34 +01:00
Florimond Manca
95b2b24302
Add docs on SSL certificates (#510)
* Add docs on SSL certificates

* Update docs on verify and cert params

* Tweak wording

* Tweak wording about localhost

* Remove advanced warning

* Rephrase introduction of local HTTPS section
2019-11-07 10:46:36 +01:00
Florimond Manca
08069e9368
Add DEBUG logs of HTTP requests (#502) 2019-11-06 22:56:25 +01:00
Florimond Manca
2fcf23bbfe
Refactor debug and trace log tests (#506) 2019-11-06 12:04:20 +01:00
Florimond Manca
07586f97e8
Convert debug logs to trace logs (#500)
* Convert debug logs to trace logs

* Update environment variables docs

* Update logging test
2019-11-02 22:40:15 +01:00
Florimond Manca
717b34139b
Remove pin on uvloop in test-requirements (#498) 2019-11-02 22:31:33 +01:00
Florimond Manca
a62947826f
Release 0.7.6 (#499) 2019-11-02 12:09:26 +01:00
Tom Christie
1ce3cc3269 First pass at autodoc support (#464)
* First pass at autodoc support

* Add mkautodoc requirement for docs builds

* Linting

* pip install httpx when building docs, to make it available to mkautodoc

* Fix code example in docstring slightly

* Use latest mkautodoc to resolve rendering of code snippets in docstrings

* Fill in 'Helper functions' API docs

* First pass at documenting Client

* Add autodoc for Client

* Update to mkautodoc 0.1

* Fix typos
2019-10-30 16:21:39 +01:00
Florimond Manca
e3140a0803
Reorganize timeout config tests (#491) 2019-10-22 22:04:42 +02:00
Jamie Hewland
88d73de752 asyncio: Wait for the stream to close when closing (#494) 2019-10-22 22:01:40 +02:00
Jt Miclat
f68b3df81c Change Python 3.8-dev to 3.8 in Travis (#477) 2019-10-20 12:17:22 -05:00
Yeray Diaz Diaz
9ec2cfc5dc
Multipart files tweaks (#482)
* Allow filenames as None in multipart encoding

* Allow str file contents in multipart encode

* Some formatting changes on `advanced.md`

* Document multipart file encoding in the advanced docs

* Update docs/advanced.md

Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>
2019-10-20 13:25:00 +01:00
Jamie Hewland
644e8fc5b6 Make start_tls a method on streams & return a new stream (#484)
* Move start_tls to stream & return a new stream

* asyncio: Keep a reference to the inner stream when upgrading to TLS
2019-10-20 12:59:16 +02:00
Florimond Manca
ad38db82f9
Document client-level configuration (#488)
* Document client-level configuration

* Fix typo
2019-10-19 15:05:26 +02:00
Yeray Diaz Diaz
09db6ec935 Drop proxies parameter from the high level API (#485)
* Drop `proxies` argument from high level API

* Update state of Digest auth in docs

* Add note on not supporting proxies at request level

* Grammar tweak

Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>
2019-10-19 14:51:27 +02:00
Florimond Manca
074cd25b04
Document client block-usage and close() (#487)
* Document client context manager vs close() usage

* Convert client snippets to use context-managed syntax
2019-10-19 13:52:44 +02:00
mariaS210
7200717e82 Add logic for determining if a URL should be proxied (#472) 2019-10-17 10:58:11 -05:00
Mateusz Woś
2984499f28 Add timeout fine-tunning advanced docs section (#476)
* Add timeout fine-tunning advanced docs section

* Rephrase part of timeout documentation
2019-10-16 18:27:45 +02:00
Can Sarıgöl
84731c8be5 Cache netrc authentication per-client (#400) 2019-10-16 08:31:47 -05:00
Florimond Manca
5e4f54d643
Add test script (#451) 2019-10-12 18:14:44 +02:00
camellia256
49ed77a706 Rely on getproxies for all proxy environment variables (#470) 2019-10-12 10:34:50 -05:00
Seth Michael Larson
c1f51277d3
Release 0.7.5 (#468) 2019-10-10 09:18:22 -05:00
Seth Michael Larson
a80c43294b
Add hints for debugging CI issues (#399) 2019-10-10 07:05:22 -05:00
Florimond Manca
65b8593c7c Allow serving docs via nox (#450) 2019-10-10 07:02:17 -05:00
Florimond Manca
38a136833f Add start_tls to Trio backend (#467) 2019-10-10 07:01:23 -05:00
Can Sarıgöl
e5d0ad2a33 Add Windows to the build matrix (#457)
* Added win32 to the build matrix

* removed os: linux due to travis default

* chopped empty line

* applied only python 3.7 tests on Windows

* added desc for windows allow failures

* removed duplicate desc
2019-10-09 23:22:18 +02:00
Florimond Manca
7361d60943
Make nox always reuse virtualenvs by default (#460)
* Always reuse venvs by default

* Update contributing guide

* Install with --upgrade
2019-10-09 20:22:32 +02:00
thebigmunch
391786696a Fix some grammar in Advanced docs (#461) 2019-10-09 20:01:37 +02:00
ImPerat0R_
97a104abc3 Add language syntax highlighting in Quickstart (#466) 2019-10-09 18:34:54 +02:00
Florimond Manca
57ae7ea22b Allow lists in query params (#386) 2019-10-08 15:12:04 -05:00
Jt Miclat
31730e7095 Add documentation for requests.Session compatibility (#449) 2019-10-05 19:20:18 -05:00
Florimond Manca
fc3df514e8 Don't check trio import in definition of backend fixture params (#447) 2019-10-05 19:12:06 -05:00
Josep Cugat
a1179e55e1 Remove wheels package from test-requirements.txt (#448) 2019-10-05 08:26:34 -05:00
Florimond Manca
24346e2039 Fix flaky Response.elapsed tests (#446) 2019-10-04 15:36:06 -05:00
Andrew M. White
b479ceb24f Ensure py.typed makes it into source distributions. (#441) 2019-10-04 14:46:57 -05:00
Can Sarıgöl
dd3fbcc8d7 Don't include username/password components in Host header (#417)
* removed auth and port from host of header

* used URL attribute rather _uri_reference

* reverted removing port into host

* reverted username and password from header

* applied new copy_with with username and password
2019-10-04 10:33:18 +01:00
Can Sarıgöl
e6da325e8b added authority copy feature in URL.copy_with (#436) 2019-10-04 09:17:25 +01:00
nwalsh1995
f504399781 Fix link to parallel page from async page (#440) 2019-10-03 20:08:27 -05:00
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