You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.
This issue has been moved from the
zendframework
repository as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.htmlOriginal Issue: https://api.github.com/repos/zendframework/zendframework/issues/7674
User: @parkbot
Created On: 2016-02-19T00:12:44Z
Updated At: 2016-02-21T18:14:38Z
Body
https://tools.ietf.org/html/rfc7231#section-6.5.5
States a 405 response Must set the Allow header. The controller needs to have a method by which the allow headers are set when a 405 is returned.
Overriding each function just to get the controller to work properly seems like over kill.
Perhaps have an abstract function getAllowedMethods that returns an array of allowed methods that get populated when a 405 has been set?
The text was updated successfully, but these errors were encountered: