Show More
@@ -234,7 +234,9 b' class http2handler(urllib2.HTTPHandler, ' | |||
|
234 | 234 | if req.get_full_url().startswith('https'): |
|
235 | 235 | return self.https_open(req) |
|
236 | 236 | def makehttpcon(*args, **kwargs): |
|
237 | return HTTPConnection(*args, use_ssl=False, **kwargs) | |
|
237 | k2 = dict(kwargs) | |
|
238 | k2['use_ssl'] = False | |
|
239 | return HTTPConnection(*args, **k2) | |
|
238 | 240 | return self.do_open(makehttpcon, req, False) |
|
239 | 241 | |
|
240 | 242 | def https_open(self, req): |
General Comments 0
You need to be logged in to leave comments.
Login now