mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/cgi.rb (CGI#initialize): improvement for mod_ruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e5ae0debe3
commit
8a95f1257f
2 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Wed Jul 3 02:32:31 2002 Wakou Aoyama <wakou@ruby-lang.org>
|
||||
|
||||
* lib/cgi.rb (CGI#initialize): improvement for mod_ruby.
|
||||
|
||||
Tue Jul 2 14:13:11 2002 Wakou Aoyama <wakou@ruby-lang.org>
|
||||
|
||||
* lib/cgi.rb (CGI#header): accept any type as value.
|
||||
|
|
|
@ -1897,6 +1897,7 @@ The hash keys are case sensitive. Ask the samples.
|
|||
|
||||
|
||||
def initialize(type = "query")
|
||||
Apache.request.setup_cgi_env if defined?(MOD_RUBY)
|
||||
extend QueryExtension
|
||||
if "POST" != env_table['REQUEST_METHOD']
|
||||
initialize_query() # set @params, @cookies
|
||||
|
|
Loading…
Reference in a new issue