]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/url/url-http.el (url-http-create-request): Don't add extra \r\n after
authorJarosław Rzeszótko <sztywny@gmail.com>
Wed, 8 Jan 2014 18:29:16 +0000 (13:29 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 8 Jan 2014 18:29:16 +0000 (13:29 -0500)
http data.

Fixes: debbugs:16220
lisp/url/ChangeLog
lisp/url/url-http.el

index 707419b3b6d229006b6349d1dccb0c40b1b0a79e..89efc71acd9d2a5673ccea937fd5a403102c45ae 100644 (file)
@@ -1,3 +1,8 @@
+2014-01-08  Jarosław Rzeszótko  <sztywny@gmail.com>
+
+       * url-http.el (url-http-create-request): Don't add extra \r\n after
+       http data (bug#16220).
+
 2013-12-28  Glenn Morris  <rgm@gnu.org>
 
        * url-history.el (url-history-track):
index bb11ec9473faa0a721b5d057e12bddeb2435202b..ac2e1403d03fe59940618c2d030253044f323f5f 100644 (file)
@@ -356,9 +356,7 @@ request.")
              ;; End request
              "\r\n"
              ;; Any data
-             url-http-data
-            ;; If `url-http-data' is nil, avoid two CRLFs (Bug#8931).
-            (if url-http-data "\r\n")))
+             url-http-data))
            ""))
     (url-http-debug "Request is: \n%s" request)
     request))