improve (compression): on the fly gzip compression for a few endpoints

This commit is contained in:
Mickael Kerjean
2019-05-09 17:03:30 +10:00
parent d85bb41620
commit 8aa589b3d5
3 changed files with 24 additions and 7 deletions

View File

@ -82,6 +82,6 @@ func AdminBackend(ctx App, res http.ResponseWriter, req *http.Request) {
for key := range drivers {
backends[key] = drivers[key].LoginForm()
}
SendSuccessResultWithEtag(res, req, backends)
SendSuccessResultWithEtagAndGzip(res, req, backends)
return
}