Comments
Patch
@@ -326,16 +326,16 @@
data = urllibcompat.getdata(req)
h.putrequest(
req.get_method(), urllibcompat.getselector(req),
- skipheaders)
+ **skipheaders)
if r'content-type' not in headers:
h.putheader(r'Content-type',
r'application/x-www-form-urlencoded')
if r'content-length' not in headers:
h.putheader(r'Content-length', r'%d' % len(data))
else:
h.putrequest(
req.get_method(), urllibcompat.getselector(req),
- skipheaders)
+ **skipheaders)
except socket.error as err:
raise urlerr.urlerror(err)
for k, v in headers.items():