dCache/dcache — pull request #1014 by kschwank (2014-11-04 10:18:11+00:00)
Title: fix WebDAV door logging stacktrace on USERINFO request

Milton does not support the USERINFO request. If such an request arrives
(davfs2 uses it for example) it will produce an IllegalArgumentException
with the message "No enum constant io.milton.http.Request.Method.USERINFO"
that will end up as a StackTrace
in the log and sends back a HTTP response "500 No enum constant
io.milton.http.Request.Method.USERINFO". Better would be to respond
with "501 Not implemented" and not log the StackTrace. This patch
solves this issue by checking for the unsupported method before passing
it on to Milton and sending the approprate response.

Ticket:
Acked-by: Gerd
Target: master
Request: 2.11
Request: 2.10
Require-book: no
Require-notes: no