/src/main/java/org/htmlunit/html/HtmlFileInput.java
contentType = qualifiedName;
contentType = contentType_;
contentType = getPage().getWebClient().getBrowserVersion().getUploadMimeType(file); if (StringUtils.isEmpty(contentType)) { contentType = MimeType.APPLICATION_OCTET_STREAM; } } else { <extra_id_0> } final Charset charset = getPage().getCharset(); final KeyDataPair keyDataPair = new KeyDataPair(getNameAttribute(), file, null, contentType, charset); keyDataPair.setData(data_); list.add(keyDataPair); }