-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow other methods than POST to be overridden #8
Comments
What’s the point…? |
Well, it's basically just the way, their enterprise provisioning system works. Actually, I got it wrong in my initial explanation. It allows And I would say, DELETE is in this case semantically closer, to what they want to achieve than POST. Anyway, our system had already supported that, through "Catalyst::ActionRole::HTTPMethods". But the functionality was dropped in favour of this Middleware. So we actually experienced a "regression" here and had to patch our software ourselves. So having this new option would actually bring the functionality closer to what Catalyst users have had before. |
Hmm. But a |
|
So the client sends a |
Our customer wants to send a
PATCH
request to our API with an override header ofDELETE
.I thought of adding another optional configuration option similar to the
header
andparam
:override_all
- allows all original methods to be overridden when an override param or header is set. Default: 0, Options: 1|0When you accept this feature, we will hopefully get around to send a pull request.
The text was updated successfully, but these errors were encountered: