code: protected final OutputStream getHTMLOutputStream(WebSiteRequest req, HttpServletResponse resp) throws IOException {
  		resp.setContentType("text/html");
  		resp.setCharacterEncoding("UTF-8");
  		String[] headers=getAdditionalHeaders(req);
  		if(headers!=null) {
  			int len=headers.length;
  			for(int c=0; c<len; c+=2) resp.setHeader(headers[c], headers[c+1]);
  		}
  		return resp.getOutputStream();
  	}
docs: Sets the content type, encoding to UTF-8, sets the additional headers, then returns the <code>OutputStream</code>.
  
  @see  #getAdditionalHeaders