@staticmethod
def _normalize_handler_method(method):
    """Transforms an HTTP method into a valid Python identifier.

        :param method:
            (string) HTTP method name
        :return:
            (string)
        """
    return method.lower().replace('-', '_')
