diff options
Diffstat (limited to 'lisp/url/url-http.el')
-rw-r--r-- | lisp/url/url-http.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index 0ba3aa2c5fe..557ef33919c 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el @@ -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)) |