Skip to content
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.

Commit

Permalink
Reverted change that was a mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
dleangen committed Aug 2, 2018
1 parent 30df688 commit 39bb1fa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -540,10 +540,10 @@ private void printOutput(HttpServletRequest rq, HttpServletResponse rsp, Object

if (gzip) {
out = new GZIPOutputStream(out);
rsp.setHeader("Transfer-Encoding", "gzip");
rsp.setHeader("Content-Encoding", "gzip");
} else if (deflate) {
out = new DeflaterOutputStream(out);
rsp.setHeader("Transfer-Encoding", "deflate");
rsp.setHeader("Content-Encoding", "deflate");
}
}
}
Expand Down

0 comments on commit 39bb1fa

Please sign in to comment.