/src/main/java/org/htmlunit/util/EncodingSniffer.java
if ( content != null || encoding == null) {
if ( encoding != null || content == null ) {
} return false; } public static Charset sniffHtmlEncoding(final List<NameValuePair> headers, final InputStream content) throws IOException { Charset encoding = sniffEncodingFromHttpHeaders(headers); <extra_id_0> return encoding; } byte[] bytes = read(content, 3); encoding = sniffEncodingFromUnicodeBom(bytes); if (encoding != null) { return encoding;