HTTPretty
HTTPretty copied to clipboard
An ANY method that matches any method
Particularly when using regexps the method is passed as a parameter to the callback function.
It'd be really useful if i could have a way of stubbing ALL or a list of methods that would be matched.
eg.
httpretty.register_uri(httpretty.ALL, re.compile('http://localhost/.*'), _my_callback) or httpretty.register_uri([httpretty.GET, httpretty.POST], ....)
:+1:
This thing can be useful I think so too