Errors that occur after the request has been started, so we should assume that the server began processing it.
(self, err: Exception)
| 395 | return isinstance(err, ConnectTimeoutError) |
| 396 | |
| 397 | def _is_read_error(self, err: Exception) -> bool: |
| 398 | """Errors that occur after the request has been started, so we should |
| 399 | assume that the server began processing it. |
| 400 | """ |
| 401 | return isinstance(err, (ReadTimeoutError, ProtocolError)) |
| 402 | |
| 403 | def _is_method_retryable(self, method: str) -> bool: |
| 404 | """Checks if a given HTTP method should be retried upon, depending if |