// Read the HTML Content
String content = getHTMLContent(con, data, url);
if (WebPageHelper.CT_HTML == contentType)
{
// TODO: Deprecate this and use stream-based rewriting
HTMLRewriter rewriter = new HTMLRewriter (); // site.getID(), url);
// TODO: use Reader String result = rewriter.rewrite(content, proxyBase, targetBase);
//data.getResponse().getWriter().write(result);
}
else
data.getResponse().getWriter().write(content);