[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [jetty-dev] setStatus() vs. sendError(), custom error feedback
- From: Greg Wilkins <gregw@xxxxxxxxxxx>
- Date: Tue, 24 Apr 2012 23:20:49 +1000
- Delivered-to: email@example.com
For some reason the gzip filter does not allow gzipped content for
status codes >=300. I will have to research why.
But it should be able to be made work by making sure you set the
status before you call getOutputStream or getWriter. The ISE
indicates that one of these methods has been called before the
setStatus, so the filter has decided that it will compress, but then
the setStatus contradicts that.