summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2019-07-07 19:17:10 -0700
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-10-24 19:46:08 +0900
commit8189d496dff2e3f892338eed13e15816684bb220 (patch)
tree861ae70e63e717d67df6a62eb5f73ae2ff7a8b19 /lib
parentf0452574b16462d0edea16e9b22e55e21e146a49 (diff)
[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
Diffstat (limited to 'lib')
-rw-r--r--lib/webrick/httpresponse.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/webrick/httpresponse.rb b/lib/webrick/httpresponse.rb
index f61d53230a..121f5e6464 100644
--- a/lib/webrick/httpresponse.rb
+++ b/lib/webrick/httpresponse.rb
@@ -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+.
#