Only write out one blank line before the request data.
This closes SF patch #419459.
diff --git a/Lib/urllib.py b/Lib/urllib.py
index 53005c8..084d32a 100644
--- a/Lib/urllib.py
+++ b/Lib/urllib.py
@@ -286,7 +286,7 @@
         for args in self.addheaders: apply(h.putheader, args)
         h.endheaders()
         if data is not None:
-            h.send(data + '\r\n')
+            h.send(data)
         errcode, errmsg, headers = h.getreply()
         fp = h.getfile()
         if errcode == 200:
@@ -364,7 +364,7 @@
             for args in self.addheaders: apply(h.putheader, args)
             h.endheaders()
             if data is not None:
-                h.send(data + '\r\n')
+                h.send(data)
             errcode, errmsg, headers = h.getreply()
             fp = h.getfile()
             if errcode == 200:
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 @@
             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()