wro4j: Content length is not computed correctly

What steps will reproduce the problem?
1. I'm using curl to access the generated javascript
2. I'm using CssUrlRewritingProcessor, 
GoogleClosureCompressorProcessor(CompilationLevel.SIMPLE_OPTIMIZATIONS) and 
YUICssCompressorProcessor, resources are gzipped
3.

What is the expected output? What do you see instead?

The content length is wrong. Expected content length is 491373 but the header 
is only 491371. This causes 2 bytes missing at the end of the script

What version of the product are you using? On what operating system?

This happens since 1.4.7. 
1.4.6 has this problem not… But i guess only because Issue453 being present 
there.

The wrong content length stops firefox 13.0.1 and the current safari from 
downloading the rest of the script.



Please provide any additional information below.

Original issue reported on code.google.com by m...@planet-punk.de on 9 Jul 2012 at 7:04

About this issue

  • Original URL
  • State: closed
  • Created 12 years ago
  • Comments: 23

Most upvoted comments