powered by
matches(method)
Matches regardless of case. e.g., POST will match to post
(x <- MethodPattern$new(pattern = "post")) x$pattern x$matches(method = "post") x$matches(method = "POST")
Run the code above in your browser using DataLab