PUT / PATCH / DELETE support for MVC forms?

10 views
Skip to first unread message

Tobias Erdle

unread,
Feb 1, 2019, 8:13:49 AM2/1/19
to MVC 1.0 Users Mailing List
Hi all,

I just wondered if there is something planned (or existing) like a hidden form field which gets intercepted by MVC
to provide support of other HTTP methods (e.g. PUT or DELETE). I didn't find anything in the spec regarding this.
That would be really helpful to follow the REST principles in an MVC application. At the moment I have some HTTP filter doing this task, 
but IMHO it doesn't make sense to copy this filter between all my projects (and I'm sure I'm not the only one with this kind of issue).

Best regards,

Tobias

Ivar Grimstad

unread,
Feb 1, 2019, 8:46:26 AM2/1/19
to MVC 1.0 Users
Hi Tobias,

I am not sure if this is a feature that should be standardized by the specification. 
However, it may be something that could be provided by an implementation. Feel free to register an issue in the Krazo issue tracker (preferably with a proposed solution as well :)) 


Ivar

--
You received this message because you are subscribed to the Google Groups "MVC 1.0 Users Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jsr371-users...@googlegroups.com.
To post to this group, send email to jsr371...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jsr371-users/b31b6835-6d98-4790-badf-91c7f407e8e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tobias Erdle

unread,
Feb 1, 2019, 8:54:21 AM2/1/19
to MVC 1.0 Users Mailing List
Hi Ivar,

thanks for the fast feedback. I'll open a feature and add the two classes I use at the moment. Maybe you can use something of it :)

Best regards,

Tobias
Reply all
Reply to author
Forward
0 new messages