diff options
| author | Jordan Cook <jordan.cook@pioneer.com> | 2021-04-22 21:28:32 -0500 |
|---|---|---|
| committer | Jordan Cook <jordan.cook@pioneer.com> | 2021-04-23 19:08:52 -0500 |
| commit | ea7f2369110cd93428bfa997618f0963cee19fb1 (patch) | |
| tree | 8175ccf2a83b3996d1aee0438f9ea15705717f56 /docs | |
| parent | 752943b76052df936e33404c40688dc03633ee93 (diff) | |
| download | requests-cache-ea7f2369110cd93428bfa997618f0963cee19fb1.tar.gz | |
Add raise_for_status option
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/user_guide.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/user_guide.rst b/docs/user_guide.rst index 1c6619f..8631af7 100644 --- a/docs/user_guide.rst +++ b/docs/user_guide.rst @@ -270,6 +270,15 @@ revalidate the cache with the new expiration time: >>> session.remove_expired_responses(expire_after=timedelta(days=30)) + +Error Handling +-------------- +There are a couple different options for customizing error-handling behavior. + +TODO: document behavior for: +* old_data_on_error +* raise_for_status + Potential Issues ---------------- * Version updates of ``requests``, ``urllib3`` or ``requests-cache`` itself may not be compatible with |
