About Question com.enthuware.ets.scwcd.v5.2.325 :
Posted: Mon Oct 13, 2014 12:37 pm
Not really a question, but I want to spare others the research if they think this "doHead == doGet" answer is weird. I did, and followed the rabbit hole all the way to the source code. Indeed, doHead() does nothing but call doGet(), pausing only to set the Content Length header before returning.
Source repository url - http://grepcode.com/file/repository.spr ... .java?av=fprotected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
{
NoBodyResponse response = new NoBodyResponse(resp);
doGet(req, response);
response.setContentLength();
}