diff options
author | Jeremy Evans <[email protected]> | 2019-07-07 19:17:10 -0700 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2019-10-24 19:46:08 +0900 |
commit | 8189d496dff2e3f892338eed13e15816684bb220 () | |
tree | 861ae70e63e717d67df6a62eb5f73ae2ff7a8b19 /lib/webrick | |
parent | f0452574b16462d0edea16e9b22e55e21e146a49 (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.rb | 6 |
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+. # |