diff --git a/lib/cgi/core.rb b/lib/cgi/core.rb index 6a74486..517be43 100644 --- a/lib/cgi/core.rb +++ b/lib/cgi/core.rb @@ -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 ENV['REQUEST_HEADER'] is defined. + # that is, whether ENV['REQUEST_METHOD'] is defined. # # Within a Standard Call Environment # - # This section assumes that ENV['REQUEST_HEADER'] is defined; + # This section assumes that ENV['REQUEST_METHOD'] is defined; # for example: # # ENV['REQUEST_METHOD'] # => "GET" @@ -878,7 +878,7 @@ def self.accept_charset=(accept_charset) # # Outside a Standard Call Environment # - # This section assumes that ENV['REQUEST_HEADER'] is not defined; + # This section assumes that ENV['REQUEST_METHOD'] is not defined; # for example: # # ENV['REQUEST_METHOD'] # => nil