httpx/docs
Tyler Chamberlain da8f959af0
Expand docs note for async custom handler responses (#1916)
* Expand note for async custom handler responses

Custom response handlers need to run `response.read()` before they can read the content of the response. However when using an AsyncClient this will produce an error of `RuntimeError: Attempted to call a sync iterator on an async stream.`. Took me some digging to figure out I just needed to use `response.aread()` here instead of `response.read()` so figured I would an MR with an expansion on the note for anyone else.
Thanks!

* Update advanced.md
2021-11-01 11:39:18 +00:00
..
css First pass at autodoc support (#464) 2019-10-30 16:21:39 +01:00
img Add cli support (#1855) 2021-09-14 09:44:43 +01:00
js Add 'chat' to docs (#818) 2020-02-19 11:38:14 +00:00
advanced.md Expand docs note for async custom handler responses (#1916) 2021-11-01 11:39:18 +00:00
api.md fix-1457: URL's full_path -> raw_path from pull #1285 in docs as well (#1458) 2021-02-07 09:33:45 +01:00
async.md [Docs] Add AnyIO under "Supported async environments" (#1673) 2021-06-16 07:19:39 +02:00
CNAME Setup custom domain (#751) 2020-01-11 09:38:09 +00:00
code_of_conduct.md Refine project workflow (#1534) 2021-03-24 16:48:57 +00:00
compatibility.md Add cli support (#1855) 2021-09-14 09:44:43 +01:00
contributing.md Allow passing additional pytest args to scripts/test (#1710) 2021-06-24 11:15:59 +01:00
environment_variables.md Add netrc environment variable into the documentation (#1675) 2021-06-16 07:04:47 +02:00
exceptions.md httpx.ResponseClosed -> httpx.StreamClosed (#1584) 2021-04-21 10:51:35 +01:00
http2.md fix typo in http2 section (#1632) 2021-05-09 00:49:14 +08:00
index.md Version 0.20 (#1890) 2021-10-13 10:43:58 +01:00
quickstart.md Add cli support (#1855) 2021-09-14 09:44:43 +01:00
third_party_packages.md Add httpx-caching (#1694) 2021-06-17 13:30:33 +01:00
troubleshooting.md Add troubleshooting guide, with initial proxies entries (#1435) 2020-12-29 13:40:53 +01:00