From: Mark A. Hershberger Date: Thu, 1 Jul 2010 18:02:43 +0000 (-0400) Subject: 2010-07-01 Mark A. Hershberger X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~51^2~81^2~66^2~4 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e4f6153f96ca61bf239a7153f9999c1624d7a924;p=emacs.git 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")) --- 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))