@Override
      public void handle(Request request, HttpServletResponse response) {
        response.setStatus(HTTP_BAD_REQUEST);
        try {
          response.getWriter().write("error");
        } catch (IOException ignored) {
          // Ignored
        }
      }
Verify reading response body for non-empty 400

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