Sure, introduce a @Head resource method

Sergey
On 11/03/17 03:07, KARR, DAVID wrote:
I have a small REST service and a browser client to go with it.  The browser client has a 
"heartbeat" service that just sends a HEAD request, just to verify the service 
is available.  However, I noticed that I'm seeing a message in the log saying that my 
HEAD request is being translated to a GET request, likely because I don't have a handler 
method for it.

As my HEAD request handler just has to return a 200, what is the simplest way 
to define this method?


Reply via email to