rest# exception ApiException(status=None, reason=None, http_resp=None)[source]# Bases: Exception class RESTResponse(resp)[source]# Bases: IOBase getheader(name, default=None)[source]# Returns a given response header. getheaders()[source]# Returns a dictionary of the response headers.