From e4f6153f96ca61bf239a7153f9999c1624d7a924 Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Thu, 1 Jul 2010 14:02:43 -0400 Subject: [PATCH] 2010-07-01 Mark A. Hershberger * url-http.el (url-http-create-request): Add a CRLF on the end so that POSTs with content to https urls work. See 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")) --- lisp/url/ChangeLog | 6 ++++++ lisp/url/url-http.el | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index 4499ea5ff52..1de6f93416a 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog @@ -1,3 +1,9 @@ +2010-07-01 Mark A. Hershberger + + * url-http.el (url-http-create-request): Add a CRLF on the end so + that POSTs with content to https urls work. See + + 2010-06-22 Mark A. Hershberger * 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 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)) -- 2.39.2