Skip to content

Commit

Permalink
typo: Reading a response expose response text, not request text (#3359)
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin-b authored Oct 23, 2024
1 parent 1bf1fc0 commit 6f9b509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6f9b509

Please sign in to comment.