1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-01 08:17:38 +00:00

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"))
This commit is contained in:
Mark A. Hershberger 2010-07-01 14:02:43 -04:00
parent 9d5405ec3c
commit e4f6153f96
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
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>
2010-06-22 Mark A. Hershberger <mah@everybody.org>
* url-parse.el (url-user-for-url, url-password-for-url):

View File

@ -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))