class HTTPHeader
Case Insensitive Hash Designed for HTTP Headers due to RFC 2.6 Chapter 4.2 www.ietf.org/rfc/rfc2616.txt
Public Instance Methods
[](key)
click to toggle source
Calls superclass method
# File lib/midori/core_ext/http_header.rb, line 6 def [](key) super _insensitive(key) end
[]=(key, value)
click to toggle source
Calls superclass method
# File lib/midori/core_ext/http_header.rb, line 10 def []=(key, value) super _insensitive(key), value end
key?(key)
click to toggle source
Calls superclass method
# File lib/midori/core_ext/http_header.rb, line 14 def key?(key) super _insensitive(key) end
Protected Instance Methods
_insensitive(key)
click to toggle source
# File lib/midori/core_ext/http_header.rb, line 18 def _insensitive(key) key.downcase end