mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/webrick] Remove Webrick::HTTPResponse#to_s
It is currently broken, and even if it worked, it can cause problems when debugging. See Ruby Bug 10715. https://github.com/ruby/webrick/commit/575dea8656
This commit is contained in:
parent
f0452574b1
commit
8189d496df
1 changed files with 0 additions and 6 deletions
|
@ -349,12 +349,6 @@ module WEBrick
|
|||
end
|
||||
end
|
||||
|
||||
def to_s # :nodoc:
|
||||
ret = ""
|
||||
send_response(ret)
|
||||
ret
|
||||
end
|
||||
|
||||
##
|
||||
# Redirects to +url+ with a WEBrick::HTTPStatus::Redirect +status+.
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue