Would be great if you could make this public (if you're going to make it non static) - this is really useful to have for unit testing when examining requests your code is making