GaeProxyHandler's base class is BaseHTTPRequestHandler, so the code may be written in BaseHTTPRequestHandler
If you want to run the proxy, you should run the following code:
server = LocalProxyServer((common.LISTEN_IP, common.LISTEN_PORT), GAEProxyHandler)
server.serve_forever()
So you know the server itself may write code about calling the method do_CONNECT now.
And let's see the backtrace, it actually does.
File "E:\Python33\lib\threading.py", line 616, in _bootstrap
self._bootstrap_inner()
File "E:\Python33\lib\threading.py", line 639, in _bootstrap_inner
self.run()
File "E:\Python33\lib\threading.py", line 596, in run
self._target(*self._args, **self._kwargs)
File "E:\Python33\lib\socketserver.py", line 610, in process_request_thread
self.finish_request(request, client_address)
File "E:\Python33\lib\socketserver.py", line 345, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "E:\Python33\lib\socketserver.py", line 666, in __init__
self.handle()
File "E:\Python33\lib\http\server.py", line 400, in handle
self.handle_one_request()
File "E:\Python33\lib\http\server.py", line 388, in handle_one_request
method()
File "E:\eclipse\workspace\GoAgent\src\goagent-local\proxy.py", line 1758, in **do_CONNECT**
see the last do_CONNECT?