class Roda::RodaPlugins::RequestHeaders::Headers
def [](key)
def [](key) @env[env_name(key)] end
def env_name(key)
def env_name(key) key = key.to_s.upcase key.tr!('-', '_') key = 'HTTP_' + key unless CGI_VARIABLES.include?(key) key end
def initialize(env)
def initialize(env) @env = env end