/src/main/java/org/htmlunit/html/HtmlImage.java
request.setCharset ( page.getCharset ( ) ) ; request.setRefererlHeader ( page.getUrl ( ) ) ;
final BrowserVersion browser = webClient.getBrowserVersion(); if (!(browser.hasFeature(HTMLIMAGE_BLANK_SRC_AS_EMPTY) && StringUtils.isBlank(src))) { final URL url = page.getFullyQualifiedUrl(src); final WebRequest request = new WebRequest(url, browser.getImgAcceptHeader(), browser.getAcceptEncodingHeader()); <extra_id_0> imageWebResponse_ = webClient.loadWebResponse(request); } } closeImageData(); downloaded_ = true; isComplete_ = hasFeature(JS_IMAGE_COMPLETE_RETURNS_TRUE_FOR_NO_REQUEST)