The Handler.defaultHandle() method returns a 501
(Status.SERVER_ERROR_NOT_IMPLEMENTED).

However, RFC2616 says:
<<<<<
10.5.2 501 Not Implemented

  The server does not support the functionality required to fulfill the
  request. This is the appropriate response when the server does not
  recognize the request method and is not capable of supporting it for
  any resource.


Note the last phrase about no about to support that [method] for any resource.

Doesn't that imply that the defaultHandle() method should return a 405
(Status.CLIENT_ERROR_METHOD_NOT_ALLOWED) instead?

Thanks,
John

Reply via email to