summaryrefslogtreecommitdiff
path: root/lib/webrick
diff options
context:
space:
mode:
authorJeremy Evans <[email protected]>2019-07-07 19:17:10 -0700
committerHiroshi SHIBATA <[email protected]>2019-10-24 19:46:08 +0900
commit8189d496dff2e3f892338eed13e15816684bb220 ()
tree861ae70e63e717d67df6a62eb5f73ae2ff7a8b19 /lib/webrick
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://.com/ruby/webrick/commit/575dea8656
-rw-r--r--lib/webrick/httpresponse.rb6
1 files changed, 0 insertions, 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+.
#