def raise_for_not_ok_status(response):
if response.code != OK:<EOL><INDENT>raise HTTPError('<STR_LIT>' % (<EOL>response.code, uridecode(response.request.absoluteURI)))<EOL><DEDENT>return response<EOL>
Raises a `requests.exceptions.HTTPError` if the response has a non-200
status code.