urllib2.HTTPError

exception urllib2.HTTPError(url, code, msg, hdrs, fp)[source]

Raised when HTTP error occurs, but also acts like non-error return