1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-23 08:20:41 -08:00

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.
This commit is contained in:
Alex Harsanyi 2017-06-13 20:49:59 -04:00 committed by Thomas Fitzsimmons
parent 27bb4de72b
commit afc1eec8b8

View file

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