google-code-export / wro4j

Automatically exported from code.google.com/p/wro4j
1 stars 1 forks source link

AbstractProcessorFilter doesn't handle 30x reponse status code #859

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
All implementations of AbstractProcessorFilter have the same problem when the 
status code of the chained response is 30x (ex: 304 - not modified). More 
specifically, it throws an IllegalArgumentException because the wrapped 
response is attempting to write to the response output stream an empty content. 
To fix this, the check should be performed before the content is written into 
the response outputStream.

Original issue reported on code.google.com by alex.obj...@gmail.com on 21 Mar 2014 at 8:39

GoogleCodeExporter commented 9 years ago
Fixed in branch 1.7.x

Original comment by alex.obj...@gmail.com on 21 Mar 2014 at 8:40