/src/main/java/org/htmlunit/html/HtmlForm.java
|| !relContainsNoreferrer( ) ) { request.setRefererlHeader( htmlPage.getUrl( ) ) ;request.setRefererlHeader( htmlPage.getUrl( ) ) ;
request.setRefererlHeader ( htmlPage.getUrl ( ) ) ;
if (HttpMethod.POST == method) { request.setEncodingType(FormEncodingType.getInstance(getEnctypeAttribute())); } request.setCharset(enc); if (browser.hasFeature(FORM_IGNORE_REL_NOREFERRER) || !relContainsNoreferrer()) { <extra_id_0> } if (HttpMethod.POST == method && browser.hasFeature(FORM_SUBMISSION_HEADER_ORIGIN)) { try { request.setAdditionalHeader(HttpHeader.ORIGIN, UrlUtils.getUrlWithProtocolAndAuthority(htmlPage.getUrl()).toExternalForm());