Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update docs/quickstart.md
Co-authored-by: Tom Christie <tom@tomchristie.com>
  • Loading branch information
trim21 and lovelydinosaur authored Aug 1, 2023
commit de504cb3ad7ced8a579f3cd88f39cf4781fb854b
2 changes: 1 addition & 1 deletion docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ Any successful response codes will return the `Response` instance rather than ra
>>> r.raise_for_status()
```

You can just call it after HTTP method to verify response code.
The method returns the response instance, allowing you to use it inline. For example:

```pycon
>>> r = httpx.get('...').raise_for_status()
Expand Down