Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update docs on retries to retry POST requests (#561)
* Update docs on retries to retry POST requests This updates the usage docs to set `allowed_methods=False`. The motivation is to retry on `POST` requests to `search` and pagination methods. By default, requests / urllib3 only retry on {'DELETE', 'GET', 'HEAD', 'OPTIONS', 'PUT', 'TRACE'} https://urllib3.readthedocs.io/en/latest/reference/urllib3.util.html#urllib3.util.Retry.DEFAULT_ALLOWED_METHODS * fix: use `None` instead of `False` for `allowed_methods` --------- Co-authored-by: Pete Gadomski <pete.gadomski@gmail.com>
- Loading branch information