setup_header() private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/webrick/cgi.rb, line 216
      def setup_header
        @env.each{|key, value|
          case key
          when "CONTENT_TYPE", "CONTENT_LENGTH"
            add_header(key.gsub(/_/, "-"), value)
          when /^HTTP_(.*)/
            add_header($1.gsub(/_/, "-"), value)
          end
        }
      end
Register or log in to add new notes.