mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-22 22:58:25 +00:00
More verbose debug logging of UPnP SOAP requests
This commit is contained in:
parent
198cbacc3e
commit
9d79859ba6
@ -448,7 +448,8 @@ func soapRequest(url, device, function, message string) ([]byte, error) {
|
|||||||
req.Header.Set("Pragma", "no-cache")
|
req.Header.Set("Pragma", "no-cache")
|
||||||
|
|
||||||
if debug {
|
if debug {
|
||||||
l.Debugln(req.Header.Get("SOAPAction"))
|
l.Debugln("SOAP Request URL: " + url)
|
||||||
|
l.Debugln("SOAP Action: " + req.Header.Get("SOAPAction"))
|
||||||
l.Debugln("SOAP Request:\n\n" + body)
|
l.Debugln("SOAP Request:\n\n" + body)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user