Show More
@@ -345,7 +345,7 b' class KeepAliveHandler(object):' | |||||
345 | h.putheader('Content-length', '%d' % len(data)) |
|
345 | h.putheader('Content-length', '%d' % len(data)) | |
346 | else: |
|
346 | else: | |
347 | h.putrequest('GET', req.get_selector(), **skipheaders) |
|
347 | h.putrequest('GET', req.get_selector(), **skipheaders) | |
348 |
except |
|
348 | except socket.error as err: | |
349 | raise urllib2.URLError(err) |
|
349 | raise urllib2.URLError(err) | |
350 | for k, v in headers.items(): |
|
350 | for k, v in headers.items(): | |
351 | h.putheader(k, v) |
|
351 | h.putheader(k, v) |
General Comments 0
You need to be logged in to leave comments.
Login now