From: Alex Harsanyi Date: Wed, 14 Jun 2017 00:49:59 +0000 (-0400) Subject: Fix an HTTP encoding error in soap-client.el X-Git-Tag: emacs-26.0.90~521^2~81 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=afc1eec8b837aaad2ed4d169cbdfd6a7d6ae197d;p=emacs.git Fix an HTTP encoding error in soap-client.el * lisp/net/soap-client.el (soap-invoke-internal): Make SOAPAction header a UTF-8 encoded string. --- diff --git a/lisp/net/soap-client.el b/lisp/net/soap-client.el index 4ec8a504fba..48c775f008e 100644 --- a/lisp/net/soap-client.el +++ b/lisp/net/soap-client.el @@ -3049,8 +3049,11 @@ OPERATION-NAME and PARAMETERS are as described in `soap-invoke'." (url-request-extra-headers (list (cons "SOAPAction" - (concat "\"" (soap-bound-operation-soap-action - operation) "\"")) + (concat "\"" (encode-coding-string + (soap-bound-operation-soap-action + operation) + 'utf-8) + "\"")) (cons "Content-Type" "text/xml; charset=utf-8")))) (if callback