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