/src/main/java/org/htmlunit/MockWebConnection.java
compiledHeaders.add( new NameValuePair( HttpHeader.CONTENT_TYPE) ) ;
compiledHeaders.add ( new NameValuePair ( HttpHeader.CONTENT_TYPE, contentType ) ) ;
private static List<NameValuePair> compileHeaders(final List<NameValuePair> headers, final String contentType) { final List<NameValuePair> compiledHeaders = new ArrayList<>(); if (headers != null) { compiledHeaders.addAll(headers); } if (contentType != null) { <extra_id_0> } return compiledHeaders; } WebResponseData asWebResponseData() { final byte[] content; if (byteContent_ != null) {