diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-30 23:56:44 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-30 23:56:44 +0000 |
commit | bb88b1aab8ce5aad01e11f1dbd574ab46ac44648 (patch) | |
tree | 49de394bd0f4693f56972bfbfdef7f278b754fe9 /test/uri | |
parent | 0b0e71ba2b3ff71d616adaf20470ac9658d30bd6 (diff) | |
download | ruby-bb88b1aab8ce5aad01e11f1dbd574ab46ac44648.tar.gz |
webrick: support Proc objects as body responses
* lib/webrick/httpresponse.rb (send_body): call send_body_proc
(send_body_proc): new method
(class ChunkedWrapper): new class
* test/webrick/test_httpresponse.rb (test_send_body_proc): new test
(test_send_body_proc_chunked): ditto
[Feature #855]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/uri')
0 files changed, 0 insertions, 0 deletions