Method: Pakyow::Rack::Connection#request_header?

Defined in:
lib/pakyow/rack/compatibility.rb

#request_header?(key) ⇒ Boolean

Returns:

  • (Boolean)


27
28
29
# File 'lib/pakyow/rack/compatibility.rb', line 27

def request_header?(key)
  @request.has_header?(normalize_header(key))
end