diff options
| -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)) |