def handle_connect(self):
     AsyncHTTPConnection.handle_connect(self)
     self.putrequest("GET", self._url % self._tile_args)
     self.endheaders()
     self.getresponse()
 def __init__(self, handler, host, port, url, tile_args):
     AsyncHTTPConnection.__init__(self, host, port)
     self.handler = handler
     self._url = url
     self._tile_args = tile_args
 def handle_connect(self):
     AsyncHTTPConnection.handle_connect(self)
     self.putrequest("GET", self._url % self._tile_args)
     self.endheaders()
     self.getresponse()
 def __init__(self, handler, host, port, url, tile_args):
     AsyncHTTPConnection.__init__(self, host, port)
     self.handler = handler
     self._url = url
     self._tile_args = tile_args
Exemple #5
0
 def __init__(self, host, port, url):
     AsyncHTTPConnection.__init__(
         self, host, port
         )
     self._url = url
Exemple #6
0
 def handle_connect(self):
     print "__test_AsyncHTTPConnection.handle_connect"
     AsyncHTTPConnection.handle_connect(self)
     self.putrequest("GET", self._url)
     self.endheaders()
     self.getresponse()