1
0
Fork 0
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:
Jeremy Evans 2019-07-07 19:17:10 -07:00 committed by Hiroshi SHIBATA
parent f0452574b1
commit 8189d496df

View file

@ -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+.
#