* url-http.el (url-http-create-request): Avoid adding extra CRLF (Bug#8931).

This commit is contained in:
Christopher J. White 2011-09-24 18:58:40 -04:00 committed by Chong Yidong
parent 94e0933e1f
commit b02ba905b4
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2011-09-24 Christopher J. White <chris@grierwhite.com> (tiny change)
* url-http.el (url-http-create-request): Avoid adding extra CRLF
(Bug#8931).
2011-09-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
* url-http.el (url-http-find-free-connection): If there was an

View file

@ -342,7 +342,9 @@ request.")
;; 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))