Commit dc1a0a7a authored by Andreas Schwab's avatar Andreas Schwab
Browse files

(url-http-create-request): Don't add newline after

the request data.
parent 180ee7c7
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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment