@Test
public void testRemoveHeaderIgnoreCase() {

    HttpRequestBuilder request = new HttpRequestBuilder();
    request.setHeader("Content-Length", "100");
    Match.equals(request.getHeaders(), "{ 'Content-Length': ['100'] }");
    request.removeHeaderIgnoreCase("content-length");
    Match.equals(request.getHeaders(), "{}");
}