mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/webrick/httpproxy.rb: remvoe useless assigned variables.
* lib/webrick/httpservlet/cgihandler.rb: ditto. * lib/webrick/httpservlet/erbhandler.rb: ditto. * lib/webrick/server.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
46724873b0
commit
c9134128cb
5 changed files with 10 additions and 6 deletions
|
@ -41,9 +41,6 @@ module WEBrick
|
|||
# :stopdoc:
|
||||
|
||||
def do_GET(req, res)
|
||||
data = nil
|
||||
status = -1
|
||||
|
||||
cgi_in = IO::popen(@cgicmd, "wb")
|
||||
cgi_out = Tempfile.new("webrick.cgiout.", @tempdir, mode: IO::BINARY)
|
||||
cgi_out.set_encoding("ASCII-8BIT")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue