mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 23:00:58 +00:00
Remove extra tabs from SOAP payload (fixes #914)
This commit is contained in:
parent
08e7ada242
commit
048883ad27
@ -464,7 +464,7 @@ func replaceRawPath(u *url.URL, rp string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func soapRequest(url, service, function, message string) ([]byte, error) {
|
func soapRequest(url, service, function, message string) ([]byte, error) {
|
||||||
tpl := ` <?xml version="1.0" ?>
|
tpl := `<?xml version="1.0" ?>
|
||||||
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||||
<s:Body>%s</s:Body>
|
<s:Body>%s</s:Body>
|
||||||
</s:Envelope>
|
</s:Envelope>
|
||||||
|
Loading…
Reference in New Issue
Block a user