//we have to set content-type again. otherwise, tomcat might
//fail to preserve what is set in open()
hres.setContentLength(_result.length);
hres.getOutputStream().write(_result);
//Use OutputStream due to Bug 1528592 (Jetty 6)
hres.flushBuffer();
}
/** Called to encode the last response for repeated request before storing.
* <p>Default: does nothing but return the input argument, data.
* The derived class might override this method to compress it.
* @see #restore