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

--- Comment #4 from Violeta Georgieva <violet...@apache.org> ---
Hi,

If I have a servlet like this:

public class TestServlet extends HttpServlet {

    protected void doGet(HttpServletRequest request, HttpServletResponse
response) throws ServletException, IOException {
        response.getWriter();
    }

    protected void doHead(HttpServletRequest request, HttpServletResponse
response) throws ServletException, IOException {
        response.getWriter();
    }

}

Both GET and HEAD requests return "Content-Length: 0".
So the size of the HEAD corresponds to the size of the GET.

Do you observe something else?

Regards,
Violeta

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

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

Reply via email to