Skip to content
Myr

Remove reference to ok.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Cory Benfield · committed by Cory Benfield · parent a89d5c0 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:docs/user/quickstart.rst+2 added-2 removed
149 unmodified lines
150151It should be noted that the success of the call to ``r.json`` does **not**152indicate the success of the response. Some servers may return a JSON object in a153failed response (e.g. error details with HTTP 500). Such JSON will be decoded154and returned. To check that a request is successful, use ``r.ok == True`` or155``r.raise_for_status()``.154and returned. To check that a request is successful, use155``r.raise_for_status()`` or check ``r.status_code`` is what you expect.156157158Raw Response Content159--------------------
327 unmodified lines