зеркало из https://github.com/github/ruby.git
* 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:
Родитель
e5ae0debe3
Коммит
8a95f1257f
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче