obspy.clients.syngine.client.Client._handle_requests_http_error

Client._handle_requests_http_error(r)[source]

Error handling for the HTTP errors.

Method called when the _download() method downloads something with a status code different than 200.

The error codes mean different things for different web services thus this needs to be implemented by every HTTPClient.

Parameters

r (requests.Response) – The response object resulting in the error.