diff options
| author | Andreas Schwab | 2004-11-28 19:14:11 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2004-11-28 19:14:11 +0000 |
| commit | dc1a0a7a28a2d8a53c331368c2df41c4bec360bb (patch) | |
| tree | 3bc0a59219c112cacb3eb4aedbf3126ba9dfd464 /lisp | |
| parent | 180ee7c785192ad92b7078e81f4b235198b171df (diff) | |
| download | emacs-dc1a0a7a28a2d8a53c331368c2df41c4bec360bb.tar.gz emacs-dc1a0a7a28a2d8a53c331368c2df41c4bec360bb.zip | |
(url-http-create-request): Don't add newline after
the request data.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/url/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/url/url-http.el | 9 |
2 files changed, 10 insertions, 4 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index 8f97d48bc46..7a527f943e3 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2004-11-28 Andreas Schwab <schwab@suse.de> | ||
| 2 | |||
| 3 | * url-http.el (url-http-create-request): Don't add newline after | ||
| 4 | the request data. | ||
| 5 | |||
| 1 | 2004-11-20 Masatake YAMATO <jet@gyve.org> | 6 | 2004-11-20 Masatake YAMATO <jet@gyve.org> |
| 2 | 7 | ||
| 3 | * url.el (url-mm-callback): Delay the invocation | 8 | * url.el (url-mm-callback): Delay the invocation |
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index 200025c3804..a3fd54e3cba 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el | |||
| @@ -255,15 +255,16 @@ request. | |||
| 255 | (if ref-url (concat | 255 | (if ref-url (concat |
| 256 | "Referer: " ref-url "\r\n")) | 256 | "Referer: " ref-url "\r\n")) |
| 257 | extra-headers | 257 | extra-headers |
| 258 | ;; Any data | 258 | ;; Length of data |
| 259 | (if url-request-data | 259 | (if url-request-data |
| 260 | (concat | 260 | (concat |
| 261 | "Content-length: " (number-to-string | 261 | "Content-length: " (number-to-string |
| 262 | (length url-request-data)) | 262 | (length url-request-data)) |
| 263 | "\r\n\r\n" | 263 | "\r\n")) |
| 264 | url-request-data)) | ||
| 265 | ;; End request | 264 | ;; End request |
| 266 | "\r\n")) | 265 | "\r\n" |
| 266 | ;; Any data | ||
| 267 | url-request-data)) | ||
| 267 | (url-http-debug "Request is: \n%s" request) | 268 | (url-http-debug "Request is: \n%s" request) |
| 268 | request)) | 269 | request)) |
| 269 | 270 | ||