Feature #4000 URI Resolver - must support HEAD request
https://support.d4science.org/4000 Added doHead handler git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@128626 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
d0daeb3de8
commit
1e4a4e1083
|
@ -198,6 +198,17 @@ public class StorageIDResolver extends HttpServlet {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* (non-Javadoc)
|
||||||
|
* @see javax.servlet.http.HttpServlet#doHead(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
|
||||||
|
logger.info("doHead working..");
|
||||||
|
|
||||||
|
req.setAttribute(VALIDATION, "true");
|
||||||
|
doGet(req, resp);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send error quietly.
|
* Send error quietly.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue