emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r105912: * url-http.el (url-http-crea


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r105912: * url-http.el (url-http-create-request): Avoid adding extra CRLF (Bug#8931).
Date: Sat, 24 Sep 2011 18:58:40 -0400
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 105912
author: Christopher J. White <address@hidden>
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Sat 2011-09-24 18:58:40 -0400
message:
  * url-http.el (url-http-create-request): Avoid adding extra CRLF (Bug#8931).
modified:
  lisp/url/ChangeLog
  lisp/url/url-http.el
=== modified file 'lisp/url/ChangeLog'
--- a/lisp/url/ChangeLog        2011-09-13 17:18:08 +0000
+++ b/lisp/url/ChangeLog        2011-09-24 22:58:40 +0000
@@ -1,3 +1,8 @@
+2011-09-24  Christopher J. White  <address@hidden>  (tiny change)
+
+       * url-http.el (url-http-create-request): Avoid adding extra CRLF
+       (Bug#8931).
+
 2011-09-13  Lars Magne Ingebrigtsen  <address@hidden>
 
        * url-http.el (url-http-find-free-connection): If there was an

=== modified file 'lisp/url/url-http.el'
--- a/lisp/url/url-http.el      2011-09-13 17:18:08 +0000
+++ b/lisp/url/url-http.el      2011-09-24 22:58:40 +0000
@@ -342,7 +342,9 @@
              ;; End request
              "\r\n"
              ;; Any data
-             url-http-data))
+             url-http-data
+            ;; If `url-http-data' is nil, avoid two CRLFs (Bug#8931).
+            (if url-http-data "\r\n")))
            ""))
     (url-http-debug "Request is: \n%s" request)
     request))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]