From: Bjørn Erik Pedersen Date: Fri, 22 Sep 2017 18:05:19 +0000 (+0200) Subject: commands: Remove superflous space X-Git-Tag: v0.28~16 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=173b54498;p=brevno-suite%2Fhugo commands: Remove superflous space --- diff --git a/commands/server.go b/commands/server.go index f9050162..98da568b 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)