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
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