1
0
mirror of https://github.com/labstack/echo.git synced 2025-01-01 22:09:21 +02:00
echo/middleware
Edward Muller 6f90742dec Set the Content-Encoding header earlier for Static
Static uses ServeContent, which looks to see if the Content-Encoding
header is set or not to determine if it should set the Content-Length.

If Content-Length is set by something it will be wrong after the gzip
compression happens and stricter routers (and tools like curl) will
have problems with the request.

Fixes #806
2017-02-13 19:12:58 -08:00
..
testdata/compress Set the Content-Encoding header earlier for Static 2017-02-13 19:12:58 -08:00
basic_auth_test.go Fixed basic auth middleware, closes #799 2017-01-05 12:12:31 -08:00
basic_auth.go Updated docs, exposed middleware.DefaultSkipper 2017-01-28 11:46:43 -08:00
body_limit_test.go Fixed body-limit middleware test 2016-09-22 23:01:46 -07:00
body_limit.go Updated docs, exposed middleware.DefaultSkipper 2017-01-28 11:46:43 -08:00
compress_test.go Set the Content-Encoding header earlier for Static 2017-02-13 19:12:58 -08:00
compress.go Set the Content-Encoding header earlier for Static 2017-02-13 19:12:58 -08:00
cors_test.go fixed ##743 2016-11-21 14:42:13 -08:00
cors.go Updated docs, exposed middleware.DefaultSkipper 2017-01-28 11:46:43 -08:00
csrf_test.go First commit to v3, #665 2016-09-22 22:56:00 -07:00
csrf.go Updated docs, exposed middleware.DefaultSkipper 2017-01-28 11:46:43 -08:00
jwt_test.go fixed #750 2016-12-19 11:43:24 -08:00
jwt.go Updated docs, exposed middleware.DefaultSkipper 2017-01-28 11:46:43 -08:00
key_auth_test.go Key auth validator now accepts context 2017-01-03 20:48:21 -08:00
key_auth.go Updated docs, exposed middleware.DefaultSkipper 2017-01-28 11:46:43 -08:00
logger_test.go Fixed #821 2017-01-12 09:09:51 -08:00
logger.go Updated docs, exposed middleware.DefaultSkipper 2017-01-28 11:46:43 -08:00
method_override_test.go Two little typos on comments (#835) 2017-02-02 11:50:17 -08:00
method_override.go Updated docs, exposed middleware.DefaultSkipper 2017-01-28 11:46:43 -08:00
middleware.go Updated docs, exposed middleware.DefaultSkipper 2017-01-28 11:46:43 -08:00
recover_test.go First commit to v3, #665 2016-09-22 22:56:00 -07:00
recover.go Updated docs, exposed middleware.DefaultSkipper 2017-01-28 11:46:43 -08:00
redirect_test.go Enhanced redirect middleware 2016-09-28 10:26:02 -07:00
redirect.go Updated docs, exposed middleware.DefaultSkipper 2017-01-28 11:46:43 -08:00
secure_test.go First commit to v3, #665 2016-09-22 22:56:00 -07:00
secure.go Updated docs, exposed middleware.DefaultSkipper 2017-01-28 11:46:43 -08:00
slash_test.go First commit to v3, #665 2016-09-22 22:56:00 -07:00
slash.go Updated docs, exposed middleware.DefaultSkipper 2017-01-28 11:46:43 -08:00