Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/cgi/core.rb
Original file line number Diff line number Diff line change
Expand Up @@ -788,11 +788,11 @@ def self.accept_charset=(accept_charset)
#
# The behavior of this method depends _strongly_ on whether it is called
# within a standard \CGI call environment;
# that is, whether <tt>ENV['REQUEST_HEADER']</tt> is defined.
# that is, whether <tt>ENV['REQUEST_METHOD']</tt> is defined.
#
# <b>Within a Standard Call Environment</b>
#
# This section assumes that <tt>ENV['REQUEST_HEADER']</tt> is defined;
# This section assumes that <tt>ENV['REQUEST_METHOD']</tt> is defined;
# for example:
#
# ENV['REQUEST_METHOD'] # => "GET"
Expand Down Expand Up @@ -878,7 +878,7 @@ def self.accept_charset=(accept_charset)
#
# <b>Outside a Standard Call Environment</b>
#
# This section assumes that <tt>ENV['REQUEST_HEADER']</tt> is not defined;
# This section assumes that <tt>ENV['REQUEST_METHOD']</tt> is not defined;
# for example:
#
# ENV['REQUEST_METHOD'] # => nil
Expand Down