Merge branch 'fjl-soap-quote'

This commit is contained in:
John Beisley 2015-02-14 09:43:39 +00:00
commit 4191d8a850

View File

@ -42,7 +42,7 @@ func (client *SOAPClient) PerformAction(actionNamespace, actionName string, inAc
Method: "POST", Method: "POST",
URL: &client.EndpointURL, URL: &client.EndpointURL,
Header: http.Header{ Header: http.Header{
"SOAPACTION": []string{actionNamespace + "#" + actionName}, "SOAPACTION": []string{`"` + actionNamespace + "#" + actionName + `"`},
"CONTENT-TYPE": []string{"text/xml; charset=\"utf-8\""}, "CONTENT-TYPE": []string{"text/xml; charset=\"utf-8\""},
}, },
Body: ioutil.NopCloser(bytes.NewBuffer(requestBytes)), Body: ioutil.NopCloser(bytes.NewBuffer(requestBytes)),