Skip to content

Commit 5de4fca

Browse files
committed
Fixed formatting
1 parent 8fc0571 commit 5de4fca

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Diff for: utilities.go

+5-4
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,11 @@ func GetCustomData(req *http.Request) (data interface{}) {
181181
// a router (or subrouter) from being cached by an upstream proxy and/or client.
182182
//
183183
// As per http://wiki.nginx.org/HttpProxyModule - NoCache sets:
184-
// Expires: Thu, 01 Jan 1970 00:00:00 UTC
185-
// Cache-Control: no-cache, private, max-age=0
186-
// X-Accel-Expires: 0
187-
// Pragma: no-cache (for HTTP/1.0 proxies/clients)
184+
//
185+
// Expires: Thu, 01 Jan 1970 00:00:00 UTC
186+
// Cache-Control: no-cache, private, max-age=0
187+
// X-Accel-Expires: 0
188+
// Pragma: no-cache (for HTTP/1.0 proxies/clients)
188189
func NoCache(w http.ResponseWriter, req *http.Request) {
189190

190191
// Delete any ETag headers that may have been set

0 commit comments

Comments
 (0)