@Override
      public void handle(Request request, HttpServletResponse response) {
        response.setStatus(HTTP_OK);
        try {
          response.getWriter().print("content");
        } catch (IOException e) {
          fail();
        }
      }
Send a stream that throws an exception when read from

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