MCPcopy Create free account
hub / github.com/StackStorm/st2 / __init__

Method __init__

st2client/st2client/utils/httpclient.py:110–114  ·  view source on GitHub ↗
(self, root, cacert=None, debug=False, basic_auth=None)

Source from the content-addressed store, hash-verified

108
109class HTTPClient(object):
110 def __init__(self, root, cacert=None, debug=False, basic_auth=None):
111 self.root = get_url_without_trailing_slash(root)
112 self.cacert = cacert
113 self.debug = debug
114 self.basic_auth = basic_auth
115
116 @add_ssl_verify_to_kwargs
117 @add_auth_token_to_headers

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected