Wed May 31 04:06:41 2000 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/cgi.rb: change: CGI#out() if "HEAD" == REQUEST_METHOD then output only HTTP header. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9a1716fdb2
commit
ed2f7f7057
10
ChangeLog
10
ChangeLog
@ -1,3 +1,8 @@
|
|||||||
|
Wed May 31 04:06:41 2000 Wakou Aoyama <wakou@fsinet.or.jp>
|
||||||
|
|
||||||
|
* lib/cgi.rb: change: CGI#out()
|
||||||
|
if "HEAD" == REQUEST_METHOD then output only HTTP header.
|
||||||
|
|
||||||
Mon May 29 10:41:10 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
|
Mon May 29 10:41:10 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
|
||||||
|
|
||||||
* file.c (rb_file_s_basename): should propagate taintness.
|
* file.c (rb_file_s_basename): should propagate taintness.
|
||||||
@ -73,8 +78,9 @@ Wed May 24 16:32:45 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
|
|||||||
|
|
||||||
Wed May 24 16:03:06 2000 Wakou Aoyama <wakou@fsinet.or.jp>
|
Wed May 24 16:03:06 2000 Wakou Aoyama <wakou@fsinet.or.jp>
|
||||||
|
|
||||||
* lib/cgi.rb bug fix: CGI::escape(), CGI::Cookie::new()
|
* lib/cgi.rb: bug fix: CGI::escape(), CGI::Cookie::new()
|
||||||
* lib/net/telnet.rb improve: binmode(), telnetmode() interface
|
|
||||||
|
* lib/net/telnet.rb: improve: binmode(), telnetmode() interface
|
||||||
|
|
||||||
Wed May 24 13:12:31 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
|
Wed May 24 13:12:31 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
|
||||||
|
|
||||||
|
15
lib/cgi.rb
15
lib/cgi.rb
@ -5,7 +5,7 @@ $Date$
|
|||||||
|
|
||||||
cgi.rb
|
cgi.rb
|
||||||
|
|
||||||
Version 1.40
|
Version 1.50
|
||||||
|
|
||||||
Copyright (C) 2000 Network Applied Communication Laboratory, Inc.
|
Copyright (C) 2000 Network Applied Communication Laboratory, Inc.
|
||||||
Copyright (C) 2000 Information-technology Promotion Agency, Japan
|
Copyright (C) 2000 Information-technology Promotion Agency, Japan
|
||||||
@ -185,7 +185,7 @@ class CGI
|
|||||||
EOL = CR + LF
|
EOL = CR + LF
|
||||||
v = $-v
|
v = $-v
|
||||||
$-v = false
|
$-v = false
|
||||||
VERSION = "1.40"
|
VERSION = "1.50"
|
||||||
RELEASE_DATE = "$Date$"
|
RELEASE_DATE = "$Date$"
|
||||||
$-v = v
|
$-v = v
|
||||||
|
|
||||||
@ -513,6 +513,8 @@ status:
|
|||||||
"my_header1" => "my_value",
|
"my_header1" => "my_value",
|
||||||
"my_header2" => "my_value"}){ "string" }
|
"my_header2" => "my_value"}){ "string" }
|
||||||
|
|
||||||
|
if "HEAD" == REQUEST_METHOD then output only HTTP header.
|
||||||
|
|
||||||
if charset is "iso-2022-jp" or "euc-jp" or "shift_jis" then
|
if charset is "iso-2022-jp" or "euc-jp" or "shift_jis" then
|
||||||
convert string charset, and set language to "ja".
|
convert string charset, and set language to "ja".
|
||||||
|
|
||||||
@ -541,7 +543,7 @@ convert string charset, and set language to "ja".
|
|||||||
output = stdoutput
|
output = stdoutput
|
||||||
output.binmode if defined? output.binmode
|
output.binmode if defined? output.binmode
|
||||||
output.print header(options)
|
output.print header(options)
|
||||||
output.print content
|
output.print content unless "HEAD" == env_table['REQUEST_METHOD']
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
@ -1905,6 +1907,13 @@ end
|
|||||||
|
|
||||||
== HISTORY
|
== HISTORY
|
||||||
|
|
||||||
|
=== Version 1.50 - wakou
|
||||||
|
|
||||||
|
2000/05/30 19:04:08
|
||||||
|
|
||||||
|
- CGI#out()
|
||||||
|
if "HEAD" == REQUEST_METHOD then output only HTTP header.
|
||||||
|
|
||||||
=== Version 1.40 - wakou
|
=== Version 1.40 - wakou
|
||||||
|
|
||||||
2000/05/24 06:58:51
|
2000/05/24 06:58:51
|
||||||
|
Loading…
x
Reference in New Issue
Block a user