caddy/caddyhttp
crvv 4a095590b1 templates: Set right response Content-Type
If use gzip and templates at the same time, the response body will
be gzipped data. And in this case, the Content-Type header won't be
set by Caddy code. Then Go http package will set "Content-Type" to
wrong value "application/x-gzip" which is determined by response body.
So the header Contenty-Type should be set in templates middleware.
2017-03-07 11:11:52 +08:00
..
2017-02-08 09:23:33 -07:00
2016-09-05 10:20:34 -06:00
2017-02-08 09:23:33 -07:00
2017-02-18 15:42:11 -07:00
2016-09-05 10:20:34 -06:00