// }
// streamingResponse = new HttpModifiedResponse(streamingResponse, requestFromBrowser.isSSL(), requestFromBrowser
// .fileExtension(), responseCode);
// }
// streamingResponse.addFilter(new TrafficLoggerFilter(TrafficLogger.getLoggerForThread()));
streamingResponse.addFilter(new ChunkedFilter());
return streamingResponse;
} else {
final Session session = requestFromBrowser.session();
if (modify && !requestFromBrowser.isExcluded() && !session.isAjaxRedirect(requestFromBrowser.url())) {
return new HttpModifiedResponse2(response, requestFromBrowser.isSSL(), requestFromBrowser.fileExtension(), responseCode);