glanceclient.common.http.
HTTPClient
(endpoint, **kwargs)¶Bases: glanceclient.common.http._BaseHTTPClient
delete
(url, **kwargs)¶get
(url, **kwargs)¶head
(url, **kwargs)¶log_curl_request
(method, url, headers, data, kwargs)¶log_http_response
(resp)¶parse_endpoint
(endpoint)¶patch
(url, **kwargs)¶post
(url, **kwargs)¶put
(url, **kwargs)¶glanceclient.common.http.
SessionClient
(session, **kwargs)¶Bases: keystoneauth1.adapter.Adapter
, glanceclient.common.http._BaseHTTPClient
request
(url, method, **kwargs)¶glanceclient.common.http.
encode_headers
(headers)¶Encodes headers.
Note: This should be used right before sending anything out.
Parameters: | headers – Headers to encode |
---|---|
Returns: | Dictionary with encoded headers’ names and values |
glanceclient.common.http.
get_http_client
(endpoint=None, session=None, **kwargs)¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.