Minor tweaks

This commit is contained in:
Matthew Holt
2019-07-15 17:33:47 -06:00
parent f217181293
commit bdf92ee84e
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ func init() {
})
}
// Zstd can create zstd encoders.
// Zstd can create Zstandard encoders.
type Zstd struct{}
// AcceptEncoding returns the name of the encoding as
+1 -2
View File
@@ -76,9 +76,8 @@ func (m MatchFile) Match(r *http.Request) bool {
if matched {
repl.Set("http.matchers.file.relative", rel)
repl.Set("http.matchers.file.absolute", abs)
return true
}
return false
return matched
}
// selectFile chooses a file according to m.TryPolicy by appending