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 __init__(self, host, port, url): AsyncHTTPConnection.__init__( self, host, port ) self._url = url
def handle_connect(self): print "__test_AsyncHTTPConnection.handle_connect" AsyncHTTPConnection.handle_connect(self) self.putrequest("GET", self._url) self.endheaders() self.getresponse()