mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-22 14:48:30 +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")
|
||||
|
||||
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)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user