slimphp / Slim

Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs.
http://slimframework.com
MIT License
11.94k stars 1.95k forks source link

[develop] The NotAllowed middleware "MUST generate an Allow header field in a 405 response containing a list of the target resource's currently supported methods" #1124

Closed adamweinstock closed 9 years ago

adamweinstock commented 9 years ago

Per http://tools.ietf.org/html/rfc7231

codeguy commented 9 years ago

Fixed https://github.com/slimphp/Slim/commit/05c5b3cb61352a52a6cdcba8c2dbabc263ee269c