mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 23:00:58 +00:00
Formatting with gofmt
This commit is contained in:
parent
8f2ad6418d
commit
d9da02b7a8
@ -454,7 +454,7 @@ func soapRequest(url, service, function, message string) ([]byte, error) {
|
|||||||
}
|
}
|
||||||
req.Header.Set("Content-Type", `text/xml; charset="utf-8"`)
|
req.Header.Set("Content-Type", `text/xml; charset="utf-8"`)
|
||||||
req.Header.Set("User-Agent", "syncthing/1.0")
|
req.Header.Set("User-Agent", "syncthing/1.0")
|
||||||
req.Header["SOAPAction"]=[]string{fmt.Sprintf(`"%s#%s"`, service, function)} // Enforce capitalization in header-entry for sensitive routers. See issue #1696
|
req.Header["SOAPAction"] = []string{fmt.Sprintf(`"%s#%s"`, service, function)} // Enforce capitalization in header-entry for sensitive routers. See issue #1696
|
||||||
req.Header.Set("Connection", "Close")
|
req.Header.Set("Connection", "Close")
|
||||||
req.Header.Set("Cache-Control", "no-cache")
|
req.Header.Set("Cache-Control", "no-cache")
|
||||||
req.Header.Set("Pragma", "no-cache")
|
req.Header.Set("Pragma", "no-cache")
|
||||||
|
Loading…
Reference in New Issue
Block a user