summaryrefslogtreecommitdiffstats
path: root/commands/server.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-09-22 20:05:19 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-09-22 20:05:19 +0200
commit173b544982df489e934d65117c046ffa147ab36e (patch)
treecfaf9a16b50c28de1732c8c4e1be98b4c650a861 /commands/server.go
parentdf411ec81a4247027ac89f994eb2430d6519cf28 (diff)
commands: Remove superflous space
Diffstat (limited to 'commands/server.go')
-rw-r--r--commands/server.go2
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)