##// END OF EJS Templates
keepalive: add ** overlooked in 83250442dc81...
Augie Fackler -
r37706:e266e75d default
parent child Browse files
Show More
@@ -326,7 +326,7 b' class KeepAliveHandler(object):'
326 data = urllibcompat.getdata(req)
326 data = urllibcompat.getdata(req)
327 h.putrequest(
327 h.putrequest(
328 req.get_method(), urllibcompat.getselector(req),
328 req.get_method(), urllibcompat.getselector(req),
329 skipheaders)
329 **skipheaders)
330 if r'content-type' not in headers:
330 if r'content-type' not in headers:
331 h.putheader(r'Content-type',
331 h.putheader(r'Content-type',
332 r'application/x-www-form-urlencoded')
332 r'application/x-www-form-urlencoded')
@@ -335,7 +335,7 b' class KeepAliveHandler(object):'
335 else:
335 else:
336 h.putrequest(
336 h.putrequest(
337 req.get_method(), urllibcompat.getselector(req),
337 req.get_method(), urllibcompat.getselector(req),
338 skipheaders)
338 **skipheaders)
339 except socket.error as err:
339 except socket.error as err:
340 raise urlerr.urlerror(err)
340 raise urlerr.urlerror(err)
341 for k, v in headers.items():
341 for k, v in headers.items():
General Comments 0
You need to be logged in to leave comments. Login now