Currently, Handler.handle*() returns:
Status.CLIENT_ERROR_METHOD_NOT_ALLOWED
if the target doesn't allow that method.

However, RFC2616 says:
<<<<<
10.4.6 405 Method Not Allowed

  The method specified in the Request-Line is not allowed for the
  resource identified by the Request-URI. The response MUST include an
  Allow header containing a list of valid methods for the requested
  resource.


Note the last sentence about the requirement of returning an Allow header.

No, I never noticed that before either. :-)  But it looks like Handler
should support that.

Hope this helps,
John

Reply via email to