diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-09-22 20:05:19 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-09-22 20:05:19 +0200 |
commit | 173b544982df489e934d65117c046ffa147ab36e (patch) | |
tree | cfaf9a16b50c28de1732c8c4e1be98b4c650a861 /commands/server.go | |
parent | df411ec81a4247027ac89f994eb2430d6519cf28 (diff) |
commands: Remove superflous space
Diffstat (limited to 'commands/server.go')
-rw-r--r-- | commands/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/server.go b/commands/server.go index f90501629..98da568b4 100644 --- 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) |