code: @Override
  	public void setContentType(String contentType) {
  		super.setContentType(contentType);
  		if (!isContentTypeHtml() && getStream() instanceof HtmlInjectorResponseStream) {
  			((HtmlInjectorResponseStream) getStream()).cancelInjection();
  		}
  	}
docs: {@inheritDoc}