260
263
if self.auth_protocol == 'http':
261
264
return self.http_client_class(self.auth_host, self.auth_port)
266
271
def _json_request(self, method, path, body=None, additional_headers=None):
267
272
"""HTTP request helper used to make json requests.