commit 173b544982df489e934d65117c046ffa147ab36e
parent df411ec81a4247027ac89f994eb2430d6519cf28
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date: Fri, 22 Sep 2017 20:05:19 +0200
commands: Remove superflous space
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/commands/server.go b/commands/server.go
@@ -210,7 +210,7 @@ func (c *commandeer) serve(port int) {
decorate := func(h http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
if noHTTPCache {
- w.Header().Set("Cache-Control", " no-store, no-cache, must-revalidate, max-age=0")
+ w.Header().Set("Cache-Control", "no-store, no-cache, must-revalidate, max-age=0")
w.Header().Set("Pragma", "no-cache")
}
h.ServeHTTP(w, r)