diff --git a/actix-web-codegen/src/route.rs b/actix-web-codegen/src/route.rs index e5493702d..5294cc052 100644 --- a/actix-web-codegen/src/route.rs +++ b/actix-web-codegen/src/route.rs @@ -42,15 +42,44 @@ macro_rules! method_type { } method_type! { - Get, GET, get, - Post, POST, post, - Put, PUT, put, - Delete, DELETE, delete, - Head, HEAD, head, + Acl, ACL, acl, + BaseLineControl, BASELINE_CONTROL, baseline_control, + Bind, BIND, bind, + CheckIn, CHECKIN, checkin, + CheckOut, CHECKOUT, checkout, Connect, CONNECT, connect, + Copy, COPY, copy, + Delete, DELETE, delete, + Get, GET, get, + Head, HEAD, head, + Label, LABEL, label, + Link, LINK, link, + Lock, LOCK, lock, + Merge, MERGE, merge, + MkActivity, MKACTIVITY, mkactivity, + MkCalendar, MKCALENDAR, mkcalendar, + MkCol, MKCOL, mkcol, + MkRedirectRef, MKREDIRECTREF, mkredirectref, + MkWorkspace, MKWORKSPACE, mkworkspace, + Notify, NOTIFY, notify, Options, OPTIONS, options, - Trace, TRACE, trace, + OrderPatch, ORDERPATCH, orderpatch, Patch, PATCH, patch, + Post, POST, post, + Pri, PRI, pri, + PropFind, PROPFIND, propfind, + PropPatch, PROPPATCH, proppatch, + Put, PUT, put, + Rebind, REBIND, rebind, + Report, REPORT, report, + Search, SEARCH, search, + Trace, TRACE, trace, + Unbind, UNBIND, unbind, + Unlink, UNLINK, unlink, + Unlock, UNLOCK, unlock, + Update, UPDATE, update, + UpdateRedirectRef, UPDATEREDIRECTREF, updateredirectref, + VersionControl, VERSIONCONTROL, versioncontrol, } impl ToTokens for MethodType {