diff options
author | Unknwon <u@gogs.io> | 2017-03-24 14:00:01 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-03-24 14:00:01 -0400 |
commit | 79ba0314e9bde654c14c2449a4910a35cb65700a (patch) | |
tree | 1a522d47fccd00e3e9056d9a8ca4123ca43c7098 /routers/repo/http.go | |
parent | c441f8080e0095fde572abe390012feb681f56b1 (diff) |
milestone: only show issue-related count under issue list (#4316)
Diffstat (limited to 'routers/repo/http.go')
-rw-r--r-- | routers/repo/http.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/http.go b/routers/repo/http.go index e1cc5f96..9b893f27 100644 --- a/routers/repo/http.go +++ b/routers/repo/http.go @@ -243,7 +243,7 @@ func serviceRPC(h serviceHandler, service string) { err error ) - // Handle GZIP. + // Handle GZIP if h.r.Header.Get("Content-Encoding") == "gzip" { reqBody, err = gzip.NewReader(reqBody) if err != nil { |