1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 02:17:05 +00:00

add HashGenerator on requestid middleware

Former-commit-id: 8f59a46a3fecc538d6d3e624fc36f2c314c20bb6
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-07-15 11:18:40 +03:00
parent 4f1af5d135
commit 38eec57e46
6 changed files with 36 additions and 7 deletions

View File

@@ -123,7 +123,7 @@ func NewCompressReader(src io.Reader, encoding string) (*CompressReader, error)
case GZIP:
rc, err = gzip.NewReader(src)
case DEFLATE:
rc = &noOpReadCloser{flate.NewReader(src)}
rc = flate.NewReader(src)
case BROTLI:
rc = &noOpReadCloser{brotli.NewReader(src)}
case SNAPPY: