kzar/ring-hmac-check — pull request #1 by paulbutcher (2012-06-22 13:14:53+00:00)
Title: Allow determination of the message to be overridden

Many thanks for making this available - it's (almost) exactly what we need.

The missing functionality is that, as well as checking the body of POST requests, we also want to check GET requests (in which case we want to generate the MAC from the URI). The existing `pred` function allows us to change the behaviour so that GET requests are still checked, but there wasn't any way for us to get it to use the URI instead of the body to generate the MAC.