Source: show | on GitHub
# File actionpack/lib/action_dispatch/http/headers.rb, line 6 6: def initialize(*args) 7: 8: if args.size == 1 && args[0].is_a?(Hash) 9: super() 10: update(args[0]) 11: else 12: super 13: end 14: end
# File actionpack/lib/action_dispatch/http/headers.rb, line 16 16: def [](header_name) 17: if include?(header_name) 18: super 19: else 20: super(env_name(header_name)) 21: end 22: end