twisted.web.clientView Source (View In Hierarchy)
A wrapper for
HTTP11ClientProtocol that automatically retries requests.
|Method||request||Do a request, and retry once (with a new connection) if it fails in a retryable manner.|
|Instance Variable||_clientProtocol||The underlying
|Instance Variable||_newConnection||A callable that creates a new connection for a retry.|
|Method||_shouldRetry||Indicate whether request should be retried.|
Indicate whether request should be retried.
True if method is idempotent, no response was received, the reason for the failed request was not due to user-requested cancellation, and no body was sent. The latter requirement may be relaxed in the future, and PUT added to approved method list.
|Parameters||method||The method of the request. (type: |