mozilla-services/cornice — pull request #88 by rfk (2012-11-15 05:21:22+00:00)
Title: Fix auto-define of HEAD views from GET views.

There appears to be some logic in cornice that auto-defines a HEAD method whenever a GET method is defined. However, it never actually triggers, because the conditional checks a lower-case "get" against an uppercased method string "GET".

This patch fixes things so that it triggers, and adjusts the tests to account for this behaviour.