mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-23 22:27:38 -05:00
e2544597a1
According to https://tools.ietf.org/html/rfc7232#section-2.1 > Likewise, a validator is weak if it is shared by two or more representations of a given resource at the same time, unless those representations have identical representation data. For example, if the origin server sends the same validator for a representation with a gzip content coding applied as it does for a representation with no content coding, then that validator is weak. Therefore, after gzip, we should change the original etag to weak etag. |
||
---|---|---|
.. | ||
testdata | ||
gzip.go | ||
gzip_test.go | ||
requestfilter.go | ||
requestfilter_test.go | ||
responsefilter.go | ||
responsefilter_test.go | ||
setup.go | ||
setup_test.go |