[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] setStatus() vs. sendError(), custom error feedback

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.