module Roda::RodaPlugins::HeaderMatchers::RequestMethods

def match_header(key)

Match if the given uppercase key is present inside the environment.
def match_header(key)
  key = key.upcase.tr("-","_")
  unless key == "CONTENT_TYPE" || key == "CONTENT_LENGTH"
    key = "HTTP_#{key}"
  end
  if v = @env[key]
    @captures << v
  end
end