Show More
@@ -225,7 +225,6 b' def _generic_proxytunnel(self):' | |||||
225 | proxyheaders = dict( |
|
225 | proxyheaders = dict( | |
226 | [(x, self.headers[x]) for x in self.headers |
|
226 | [(x, self.headers[x]) for x in self.headers | |
227 | if x.lower().startswith('proxy-')]) |
|
227 | if x.lower().startswith('proxy-')]) | |
228 | self._set_hostport(self.host, self.port) |
|
|||
229 | self.send('CONNECT %s HTTP/1.0\r\n' % self.realhostport) |
|
228 | self.send('CONNECT %s HTTP/1.0\r\n' % self.realhostport) | |
230 | for header in proxyheaders.iteritems(): |
|
229 | for header in proxyheaders.iteritems(): | |
231 | self.send('%s: %s\r\n' % header) |
|
230 | self.send('%s: %s\r\n' % header) |
General Comments 0
You need to be logged in to leave comments.
Login now