shithub: hugo

Download patch

ref: 173b544982df489e934d65117c046ffa147ab36e
parent: df411ec81a4247027ac89f994eb2430d6519cf28
author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
date: Fri Sep 22 16:05:19 EDT 2017

commands: Remove superflous space

--- a/commands/server.go
+++ b/commands/server.go
@@ -210,7 +210,7 @@
 	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)
--