Class: MintHttp::Headers

Inherits:
Hash
  • Object
show all
Defined in:
lib/mint_http/headers.rb

Instance Method Summary collapse

Instance Method Details

#[](key) ⇒ Object



4
5
6
# File 'lib/mint_http/headers.rb', line 4

def [](key)
  super(key.downcase)
end

#[]=(key, value) ⇒ Object



8
9
10
# File 'lib/mint_http/headers.rb', line 8

def []=(key, value)
  super(key.downcase, value)
end