soap: quote action names in header
The unquoted form is not accepted by some implementations.
This commit is contained in:
		@@ -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)),
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user