aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/url
diff options
context:
space:
mode:
authorMark A. Hershberger <[email protected]>2010-07-01 14:02:43 -0400
committerMark A. Hershberger <[email protected]>2010-07-01 14:02:43 -0400
commite4f6153f96ca61bf239a7153f9999c1624d7a924 (patch)
treef746f440f0c909d741c8657ba5eced55d527bfe2 /lisp/url
parent9d5405ec3c2761b5970fbb37397375ae62dc1833 (diff)
2010-07-01 Mark A. Hershberger <[email protected]>
* 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')
-rw-r--r--lisp/url/ChangeLog6
-rw-r--r--lisp/url/url-http.el2
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog
index 4499ea5ff5..1de6f93416 100644
--- a/lisp/url/ChangeLog
+++ b/lisp/url/ChangeLog
@@ -1,3 +1,9 @@
+2010-07-01 Mark A. Hershberger <[email protected]>
+
+ * 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>
+
2010-06-22 Mark A. Hershberger <[email protected]>
* url-parse.el (url-user-for-url, url-password-for-url):
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el
index 9f988beaf0..24daba4f77 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))