예제 #1
0
 def handle_connect(self):
     AsyncHTTPConnection.handle_connect(self)
     self.putrequest("GET", self._url % self._tile_args)
     self.endheaders()
     self.getresponse()
예제 #2
0
 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
예제 #3
0
 def handle_connect(self):
     AsyncHTTPConnection.handle_connect(self)
     self.putrequest("GET", self._url % self._tile_args)
     self.endheaders()
     self.getresponse()
예제 #4
0
 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
예제 #5
0
파일: tests.py 프로젝트: BYK/asynchttp
 def __init__(self, host, port, url):
     AsyncHTTPConnection.__init__(
         self, host, port
         )
     self._url = url
예제 #6
0
파일: tests.py 프로젝트: BYK/asynchttp
 def handle_connect(self):
     print "__test_AsyncHTTPConnection.handle_connect"
     AsyncHTTPConnection.handle_connect(self)
     self.putrequest("GET", self._url)
     self.endheaders()
     self.getresponse()