typo: Reading a response expose response text, not request text (#3359)

This commit is contained in:
Colin Bounouar 2024-10-23 21:06:45 +02:00 committed by GitHub
parent 1bf1fc0ea8
commit 6f9b50990d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -143,7 +143,7 @@ Within a `stream()` block request data is made available with:
* `.iter_text()` - Instead of `response.iter_content(decode_unicode=True)`
* `.iter_lines()` - Corresponding to `response.iter_lines()`
* `.iter_raw()` - Use this instead of `response.raw`
* `.read()` - Read the entire response body, making `request.text` and `response.content` available.
* `.read()` - Read the entire response body, making `response.text` and `response.content` available.
## Timeouts