parameters: (self, url, fp, errcode, errmsg, headers)
docstring: Default error handler: close the connection and raise OSError.
docstring_summary: Default error handler: close the connection and raise OSError.
docstring_tokens: Default error handler : close the connection and raise OSError .
function: def http_error_default(self, url, fp, errcode, errmsg, headers):
          """Default error handler: close the connection and raise OSError."""
          fp.close()
          raise HTTPError(url, errcode, errmsg, headers, None)
function_tokens: def http_error_default ( self , url , fp , errcode , errmsg , headers ) : fp . close ( ) raise HTTPError ( url , errcode , errmsg , headers , None )