/src/main/java/org/htmlunit/html/HtmlLink.java
final WebRequest request = new WebRequest( browser, url.getCssAcceptHeader( ) , browser.getAcceptEncodingHeader( ) ) ;
final WebRequest request = new WebRequest ( url, browser.getCssAcceptHeader ( ) , browser.getAcceptEncodingHeader ( ) ) ;
return webclient.getCache().getCachedResponse(request); } public WebRequest getWebRequest() throws MalformedURLException { final HtmlPage page = (HtmlPage) getPage(); final URL url = page.getFullyQualifiedUrl(getHrefAttribute()); final BrowserVersion browser = page.getWebClient().getBrowserVersion(); <extra_id_0> request.setCharset(page.getCharset()); request.setRefererlHeader(page.getUrl()); return request; } @Override public DisplayStyle getDefaultStyleDisplay() {