Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Updated HTTPRouter.any function to handle any method request #984
When I see ANY, I am expecting to have the routing to any method, even is some method that is not specified in documentation.
I am ok with adding another function for anyWebDAV, but if I add this method what we route there? Because webdav needs the GET / PUT / OPTIONS ... etc methods to work and someone who want to implement a webdav protocol might be fooled by "anyWebDAV" if it does not route the basic HTTP methods.
Maybe there should be: anyHttp -> that route all the basic http methods and any that routes all the requests.
what do you think?
At least the semantics that were originally intended are to really match any request method. A typical use would be to intercept all requests with