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();
}
About Question com.enthuware.ets.scwcd.v5.2.325 :
Moderator: admin
-
- Posts: 60
- Joined: Wed Apr 23, 2014 6:38 pm
- Contact:
About Question com.enthuware.ets.scwcd.v5.2.325 :
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.
-
- Site Admin
- Posts: 10067
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question com.enthuware.ets.scwcd.v5.2.325 :
Good stuff. Thanks for sharing
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: Bing [Bot] and 132 guests