You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2016/04/12 15:54:57 UTC

[Bug 59310] Content-Length of HEAD requests incorrectly computed as

https://bz.apache.org/bugzilla/show_bug.cgi?id=59310

Christopher Schultz <ch...@christopherschultz.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Christopher Schultz <ch...@christopherschultz.net> ---
So a servlet like this will cause Tomcat to return "Content-Length: 0"?

public class TestServlet extends HttpServlet {
  public void doHead(HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException {
    response.getWriter().close();
  }
}

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org