watcherclient.common.httpclient 模块¶
- class watcherclient.common.httpclient.SessionClient(os_infra_optim_api_version, api_version_select_state, max_retries, retry_interval, endpoint, **kwargs)[source]¶
基类:
VersionNegotiationMixin,LegacyJsonAdapter基于 Keystone 客户端会话的 HTTP 客户端。
- class watcherclient.common.httpclient.VerifiedHTTPSConnection(host, port, key_file=None, cert_file=None, ca_file=None, timeout=None, insecure=False)[source]¶
基类:
HTTPSConnection使用客户端 SSL 身份验证的 httplib 兼容连接
- :参见 http://code.activestate.com/recipes/
577548-https-httplib-client-connection-with-certificate-v/