Give the method & URL as parameters

In the context that I am using the library, my code needs to know how it was called, in other words, what was the URL and what was the HTTP method.  This simple diff adds those 2 values in the object returned by the matching function.