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