if (is.available() > 0) {
response.setContentSize(is.available());
IOUtil.copy(is, response.getOutputStream());
}
} catch (SocketException e) {
throw new ClientAbortException();
} catch (IOException e) {
throw new ServerException(e);
} catch (ScriptException e) {
throw new ServerException(e);
}