/src/main/java/org/htmlunit/html/HtmlFileInput.java
contentType = getPage ( ) .getWebClient ( ) .getBrowserVersion ( ) .getUploadMimeType ( file ) ;
return new NameValuePair[] {new KeyDataPair(getNameAttribute(), null, null, null, (Charset) null)}; } final List<NameValuePair> list = new ArrayList<>(); for (final File file : files_) { String contentType; if (contentType_ == null) { <extra_id_0> if (StringUtils.isEmpty(contentType)) { contentType = MimeType.APPLICATION_OCTET_STREAM; } } else { contentType = contentType_;