Implement rev query parameter for HEAD, GET, PUT and DELETE requests.

I think that sounds good. I would just rename `$parameters` to `$query`, to make it more clear.