mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(url-http-create-request): Don't add newline after
the request data.
This commit is contained in:
parent
180ee7c785
commit
dc1a0a7a28
2 changed files with 10 additions and 4 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2004-11-28 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* url-http.el (url-http-create-request): Don't add newline after
|
||||
the request data.
|
||||
|
||||
2004-11-20 Masatake YAMATO <jet@gyve.org>
|
||||
|
||||
* url.el (url-mm-callback): Delay the invocation
|
||||
|
|
|
|||
|
|
@ -255,15 +255,16 @@ request.
|
|||
(if ref-url (concat
|
||||
"Referer: " ref-url "\r\n"))
|
||||
extra-headers
|
||||
;; Any data
|
||||
;; Length of data
|
||||
(if url-request-data
|
||||
(concat
|
||||
"Content-length: " (number-to-string
|
||||
(length url-request-data))
|
||||
"\r\n\r\n"
|
||||
url-request-data))
|
||||
"\r\n"))
|
||||
;; End request
|
||||
"\r\n"))
|
||||
"\r\n"
|
||||
;; Any data
|
||||
url-request-data))
|
||||
(url-http-debug "Request is: \n%s" request)
|
||||
request))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue