mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02: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
|
@ -56,7 +56,7 @@ module WEBrick
|
|||
res.body = evaluate(ERB.new(data), req, res)
|
||||
res['content-type'] ||=
|
||||
HTTPUtils::mime_type(@script_filename, @config[:MimeTypes])
|
||||
rescue StandardError => ex
|
||||
rescue StandardError
|
||||
raise
|
||||
rescue Exception => ex
|
||||
@logger.error(ex)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue