From d01f162be8abaca25cb6c1733b268925032777d2 Mon Sep 17 00:00:00 2001 From: BurdetteLamar Date: Mon, 1 Dec 2025 14:16:08 +0000 Subject: [PATCH] [DOC] Correct env name --- lib/cgi/core.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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