cakephp/cakephp — pull request #749 by ceeram (2012-08-01 16:00:28+00:00)
Title: Add allowed() to CakeRequest, to check if the request method matches the...

... allowed ones

Also changing the MethodNotAllowedException, as the "Allow" header is required for responses with 405 statuscode

Needs tests to be added yet, how is this as POC?