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