1
0
mirror of https://github.com/labstack/echo.git synced 2025-02-07 13:31:38 +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
..
2016-11-21 14:42:13 -08:00
2016-09-22 22:56:00 -07:00
2016-12-19 11:43:24 -08:00
2017-01-12 09:09:51 -08:00
2016-09-22 22:56:00 -07:00
2016-09-28 10:26:02 -07:00
2016-09-22 22:56:00 -07:00
2016-09-22 22:56:00 -07:00