Method: HTTPX::Headers#key?

Defined in:
lib/httpx/headers.rb

#key?(downcased_key) ⇒ Boolean

this is internal API and doesn’t abide to other public API guarantees, like downcasing strings. Please do not use this outside of core!

Returns:

  • (Boolean)


125
126
127
# File 'lib/httpx/headers.rb', line 125

def key?(downcased_key)
  @headers.key?(downcased_key)
end