This file is indexed.

/usr/lib/ruby/vendor_ruby/mechanize/headers.rb is in ruby-mechanize 2.3-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
class Mechanize::Headers < Hash
  def [](key)
    super(key.downcase)
  end

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

  def key?(key)
    super(key.downcase)
  end

  def canonical_each
    block_given? or return enum_for(__method__)
    each { |key, value|
      key = key.capitalize
      key.gsub!(/-([a-z])/) { "-#{$1.upcase}" }
      yield [key, value]
    }
  end
end