mccalltd / AttributeRouting

Define your routes using attributes on actions in ASP.NET MVC and Web API.
http://mccalltd.github.io/AttributeRouting/
MIT License
416 stars 89 forks source link

Fix #225 - add PATCH attribute. #262

Closed mrydengren closed 3 years ago

mrydengren commented 11 years ago

Made a quick change to the RouteAttribute to support arbitrary HTTP verbs. Added PATCH for both MVC and WebApi.

I'm not sure how you go about testing these attributes, but I tried to follow the convention about defining the common "API".

I can probably add HEAD and OPTIONS attributes as well.