// server/4500, #4218
String method = req.getMethod();
if (! method.equalsIgnoreCase("GET")
&& ! method.equalsIgnoreCase("HEAD")
&& ! method.equalsIgnoreCase("POST")) {
res.sendError(HttpServletResponse.SC_NOT_IMPLEMENTED,
"Method not implemented");
return;
}
String ifMatch = req.getHeader("If-None-Match");