Method: Rack::Request::Env#get_header

Defined in:
lib/rack/request.rb

#get_header(name) ⇒ Object

Get a request specific value for ‘name`.



105
106
107
# File 'lib/rack/request.rb', line 105

def get_header(name)
  @env[name]
end