code: def request(self, method, url, body=None, content_type='application/json'):
          
          headers = self.make_auth_headers(content_type)
          connection = http_client.HTTPSConnection(self.apibase)
          connection.request(method, url, body, headers=headers)
          response = connection.getresponse()
          data = response.read()
          connection.close()
          if response.status not in [200, 201]:
              raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
                  response.status, response.reason), response=response)
          return json.loads(data.decode('utf-8'))
docs: Send http request.