21
21
return urlunparse(('http', self.netloc, path, '', query, ''))
23
23
def _get_connection(self):
25
24
return httplib.HTTPConnection(self.host, self.port)
27
26
def _verb_archive(self, verb, archive_name, query, body=None):
28
27
url = self.archive_url(archive_name, query)
30
28
connection = self._get_connection()
31
29
connection.request(verb, url, body)
32
30
return connection.getresponse()