What steps will reproduce the problem?
1.Using the chrome browser (version: 9.0 beta)
2.Fetching a css resources managed by wro
3.enabling gzip compression on the resource with wro
What is the expected output? What do you see instead?
I expect the resource to be gzip compressed when streamed to the client but
gzip compression is ignored because the accept Accept-Encoding pattern is not
correct.
What version of the product are you using? On what operating system?
wro version is: 1.3.4
Please provide any additional information below.
The problems is located in the method WroUtil.isGzipSupported. It detects the
accept-encoding header but the pattern = PATTERN_GZIP is incorrect and does not
recognize the chrome gzip header. The header value for chrome is
"gzip,deflate,sdch".
Original issue reported on code.google.com by eli.will...@gmail.com on 25 Feb 2011 at 9:29
Original issue reported on code.google.com by
eli.will...@gmail.com
on 25 Feb 2011 at 9:29