1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-06 03:27:27 +00:00

Push v8.2.4, it contains a bugfix for StaticWeb with gzip | Read HISTORY.md

Maybe we'll have to investigate it more some time, but for now I think we are ok, it's working as expected except the content-length canno be reported because we get the compressed size after the gzip writer.Write and we can't send headers after its underline writer which is the ResponseWriter, a solution for that is to use a temp bytes.Buffer but this will slow down the performance, users who need to know the size can use a temp writer instead for theirselves.


Former-commit-id: a4400ca5db526998a646fd5880ca67358fa72c0f
This commit is contained in:
kataras
2017-08-12 09:08:42 +03:00
parent e00cf383a2
commit 960ddb9f72
5 changed files with 10 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ Iris is a fast, simple and efficient micro web framework for Go. It provides a b
### 📑 Table of contents
* [Installation](#-installation)
* [Latest changes](https://github.com/kataras/iris/blob/master/HISTORY.md#th-10-august-2017--v822)
* [Latest changes](https://github.com/kataras/iris/blob/master/HISTORY.md#th-12-august-2017--v824)
* [Learn](#-learn)
* [HTTP Listening](_examples/#http-listening)
* [Configuration](_examples/#configuration)