@Test
  public void requestContentTypeEmptyCharset() throws Exception {
    final AtomicReference<String> contentType = new AtomicReference<String>();
    handler = new RequestHandler() {

      @Override
      public void handle(Request request, HttpServletResponse response) {
        contentType.set(request.getContentType());
        response.setStatus(HTTP_OK);
      }
    };
    assertTrue(post(url).contentType("text/html", "").ok());
    assertEquals("text/html", contentType.get());
  }
Verify 'Content-Type' header

@throws Exception
lib/src/test/java/com/github/kevinsawicki/http/HttpRequestTest.java