Matches HTTP header names when in "Canonical-Http-Format"
Transform to canonical HTTP header capitalization
# File lib/http/header.rb, line 7 def canonicalize_header(header) header.to_s.split(/[\-_]/).map(&:capitalize).join('-') end
Generated with the Darkfish Rdoc Generator 2.