I'm trying to create a simple CalDav server using ASP.NET MVC 3, but the lack of the missing HTTP Verbs got me confused.
How can I add them and use them? Maybe I could create an ActionFilter
for each one of the missing native ones...
RFC 4791 says that a CalDav protocol can use all of this verbs
OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, COPY, MOVE, PROPFIND, PROPPATCH, LOCK, UNLOCK, REPORT, ACL
In Bold are shown the native MCV3 verbs, and Italic the ones I want to implement in order to create a simple CalDav (will be open source on GIT, using D开发者_Go百科Day.iCal Library but I just need to start) :)
Is there anything that I can't find out there available?
Have a look at the AcceptVerbsAttribute
. It takes a string array which I would imagine you could supply the ones you are looking for.
精彩评论