summaryrefslogtreecommitdiffstats
path: root/Lib/urllib2.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/urllib2.py')
-rw-r--r--Lib/urllib2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/urllib2.py b/Lib/urllib2.py
index 992c83b..ee0bc27 100644
--- a/Lib/urllib2.py
+++ b/Lib/urllib2.py
@@ -809,7 +809,7 @@ class AbstractHTTPHandler(BaseHandler):
h.putheader(k, v)
h.endheaders()
if req.has_data():
- h.send(data + '\r\n')
+ h.send(data)
code, msg, hdrs = h.getreply()
fp = h.getfile()