diff options
| author | Christopher J. White | 2011-09-24 18:58:40 -0400 |
|---|---|---|
| committer | Chong Yidong | 2011-09-24 18:58:40 -0400 |
| commit | b02ba905b4a8b0b95b858639db8bd6632a9fe57f (patch) | |
| tree | 78144e44702daa54f5c1d57a5a46bcbeb1754b75 | |
| parent | 94e0933e1f0465f5f9a2e9d92e828a1380296bd0 (diff) | |
| download | emacs-b02ba905b4a8b0b95b858639db8bd6632a9fe57f.tar.gz emacs-b02ba905b4a8b0b95b858639db8bd6632a9fe57f.zip | |
* url-http.el (url-http-create-request): Avoid adding extra CRLF (Bug#8931).
| -rw-r--r-- | lisp/url/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/url/url-http.el | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index 8ad0a8ee43f..fbc267df44a 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-09-24 Christopher J. White <chris@grierwhite.com> (tiny change) | ||
| 2 | |||
| 3 | * url-http.el (url-http-create-request): Avoid adding extra CRLF | ||
| 4 | (Bug#8931). | ||
| 5 | |||
| 1 | 2011-09-13 Lars Magne Ingebrigtsen <larsi@gnus.org> | 6 | 2011-09-13 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 7 | ||
| 3 | * url-http.el (url-http-find-free-connection): If there was an | 8 | * url-http.el (url-http-find-free-connection): If there was an |
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.") | |||
| 342 | ;; End request | 342 | ;; End request |
| 343 | "\r\n" | 343 | "\r\n" |
| 344 | ;; Any data | 344 | ;; Any data |
| 345 | url-http-data)) | 345 | url-http-data |
| 346 | ;; If `url-http-data' is nil, avoid two CRLFs (Bug#8931). | ||
| 347 | (if url-http-data "\r\n"))) | ||
| 346 | "")) | 348 | "")) |
| 347 | (url-http-debug "Request is: \n%s" request) | 349 | (url-http-debug "Request is: \n%s" request) |
| 348 | request)) | 350 | request)) |