diff options
author | Mark A. Hershberger <mah@everybody.org> | 2010-07-01 14:02:43 -0400 |
---|---|---|
committer | Mark A. Hershberger <mah@everybody.org> | 2010-07-01 14:02:43 -0400 |
commit | e4f6153f96ca61bf239a7153f9999c1624d7a924 (patch) | |
tree | f746f440f0c909d741c8657ba5eced55d527bfe2 /lisp/url/url-http.el | |
parent | 9d5405ec3c2761b5970fbb37397375ae62dc1833 (diff) | |
download | emacs-e4f6153f96ca61bf239a7153f9999c1624d7a924.tar.gz |
2010-07-01 Mark A. Hershberger <mah@everybody.org>
* url-http.el (url-http-create-request): Add a CRLF on the end so
that POSTs with content to https urls work. See
<https://bugs.launchpad.net/mediawiki-el/+bug/540759>
Prior to this, the following request would not terminate:
(let ((url-request-method "POST")
(url-request-data "action=login"))
(url-retrieve-synchronously "https://example.org/wiki/api.php"))
Diffstat (limited to 'lisp/url/url-http.el')
-rw-r--r-- | lisp/url/url-http.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index 9f988beaf0a..24daba4f779 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el @@ -339,7 +339,7 @@ request.") ;; End request "\r\n" ;; Any data - url-http-data)) + url-http-data "\r\n")) "")) (url-http-debug "Request is: \n%s" request) request)) |