Josep Cugat
620b0670db
Increase test coverage - take 2 ( #1012 )
...
* Fix HttpError -> HTTPError typo
* Increased test coverage
* Increase coverage threshold
* Reuse sync/async transport code in test_auth.py
* Removed close_client check inside StreamContextManager
It's never set as True when used in async
* Reuse sync/async transport code in test_redirects.py
2020-06-02 10:24:45 +01:00
Ryan Balfanz
3b9ebe0523
Fix small typo ( #920 )
2020-05-01 20:37:01 +02:00
Francesco Pongiluppi
7f0e791f9d
Fix syntax highlighting ( #757 )
...
Fixes syntax highlighting in quickstart documentation
2020-01-13 10:26:00 +00:00
Tom Christie
b932d94d99
Use www.python-httpx.org domain
2020-01-09 09:18:32 +00:00
Tom Christie
2038919b7e
Proposed 0.11 docs ( #727 )
...
* Proposed 0.11 docs
* Add async section and link in
* Update docs/advanced.md
Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>
* Update docs/async.md
Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>
* Update docs/async.md
Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>
* Update docs/quickstart.md
Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>
* Update docs/async.md
Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>
* Update docs/async.md
Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>
* Update docs/async.md
Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>
* Docs updates
* Use context-managed client instances in examples
* Update README with links to docs site, rather than to .md documents
* "99% test coverage"
* Update docs/async.md
Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>
* Update docs/async.md
Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>
* Add Client.close method to API docs
* Update docs/async.md
Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>
Co-authored-by: Florimond Manca <florimond.manca@gmail.com>
2020-01-08 12:51:52 +00:00
Florimond Manca
ff44d2d1b8
Fix typo in 'Redirection and History' docs ( #719 )
2020-01-03 21:14:13 +00:00
David Larlet
22663bc66e
Update link to timeout fine tuning in quickstart ( #696 )
2019-12-31 12:02:14 +00:00
Florimond Manca
f9d18a8758
Rename 'read/close' to 'aread/aclose' on Response ( #674 )
...
* Switch to aread/aclose on responses
* Linting
Co-authored-by: Tom Christie <tom@tomchristie.com>
2019-12-29 15:14:53 +00:00
Tom Christie
ec40d04382
Add aiter methods on response ( #610 )
2019-12-06 15:20:09 +00:00
Tom Christie
8d8ea8bbba
Add Client.stream() method. ( #600 )
...
* Add Client.stream() method.
* Add top-level stream API
* Documentation
2019-12-05 17:25:43 +00:00
Tom Christie
2f54b200de
Allow default+override timeout style ( #593 )
...
* Allow styles like: httpx.Timeout(5.0, pool_timeout=None)
* Update timeout docs
* Minor tweaks to sub headings in timeout docs
* Fixing up Timeout docs
* RequestTimeout -> TimeoutException
* Tweak timeout docs
2019-12-05 09:38:48 +00:00
Tom Christie
206c5372a6
Drop sync ( #544 )
...
Drop sync client
2019-11-27 10:43:42 +00: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
ImPerat0R_
97a104abc3
Add language syntax highlighting in Quickstart ( #466 )
2019-10-09 18:34:54 +02:00
Kyle Galbraith
b65bce5924
Fix typos, spelling issues, and grammar in docs ( #426 )
2019-10-02 11:46:54 -05: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
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
Tom Christie
2d09d5b36c
Renaming -> httpx ( #129 )
...
* Renaming -> httpx
* Renaming to httpx
2019-07-19 15:15:16 +01:00
Tom Christie
56a7943206
Int status codes ( #92 )
...
* Use plain int for response.status_code
* Linting
2019-06-17 16:53:39 +01:00
Tom Christie
d21e3ab2f0
Add multipart docs
2019-06-17 14:51:40 +01:00
Tom Christie
7c6fb5c6ca
Tweaks ( #89 )
...
* Close redirect responses
* History should not be reverse-order
* History should not be reverse-order
* Docs updates
2019-06-13 16:19:39 +01:00
Tom Christie
d5d726f66a
Add Cookies docs
2019-06-13 14:03:22 +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