0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00
caddy/caddyhttp/gzip
spacewander e2544597a1 gzip: change ETag to weak ETag after gzip
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.
2017-07-14 11:48:34 +08:00
..
testdata Add misspell to travis build 2017-01-10 15:39:00 -08:00
gzip.go gzip: change ETag to weak ETag after gzip 2017-07-14 11:48:34 +08:00
gzip_test.go gzip: change ETag to weak ETag after gzip 2017-07-14 11:48:34 +08:00
requestfilter.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
requestfilter_test.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
responsefilter.go Feature #1282 - Support serving statically compressed .gz and .br files (#1289) 2016-12-19 09:51:09 -07:00
responsefilter_test.go ResponseWriterWrapper and HTTPInterfaces (#1644) 2017-05-05 09:42:06 -06:00
setup.go gzip: cleaned up writer pool initialization code (#1695) 2017-05-30 18:29:28 -06:00
setup_test.go Feature #1282 - Support serving statically compressed .gz and .br files (#1289) 2016-12-19 09:51:09 -07:00