summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/encode
diff options
context:
space:
mode:
authorSuccess Go <gaodacheng@protonmail.ch>2020-02-28 10:30:48 +0800
committerGitHub <noreply@github.com>2020-02-27 19:30:48 -0700
commitca5c6798806546180994ab7c08e60a5ffeb69394 (patch)
tree8ba21a48ed0566f0a0c9bfa4324067b2cab5cda3 /modules/caddyhttp/encode
parente2d41ee7619bf88d9cd01ac92911fda8625bd02d (diff)
Fix typos (#3087)
* Fix typo * Fix typo, thanks for Spell Checker under VS Code
Diffstat (limited to 'modules/caddyhttp/encode')
-rw-r--r--modules/caddyhttp/encode/encode.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/encode/encode.go b/modules/caddyhttp/encode/encode.go
index c3a1c23..52205aa 100644
--- a/modules/caddyhttp/encode/encode.go
+++ b/modules/caddyhttp/encode/encode.go
@@ -282,7 +282,7 @@ func acceptedEncodings(r *http.Request) []string {
}
// encodings with q-factor of 0 are not accepted;
- // use a small theshold to account for float precision
+ // use a small threshold to account for float precision
if qFactor < 0.00001 {
continue
}