I am a scalatra newbie, and maybe my question makes no sense, but here it is:
How do I tell if a request in scalatra was a GET or a HEAD request?
Basically I have a REST api which uses GET to get an item, and HEAD to test that the item exists. I am not seeing an obvious way of writing a handler for a HEAD request.