normal
bb88b1aab8
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
2017-10-30 23:56:44 +00:00
..
2017-10-22 11:27:06 +00:00
2017-10-08 07:00:01 +00:00
2017-10-23 13:25:59 +00:00
2017-09-26 10:45:14 +00:00
2017-09-07 03:24:08 +00:00
2017-10-21 14:22:04 +00:00
2017-09-15 17:42:00 +00:00
2017-09-26 11:30:45 +00:00
2017-09-29 17:19:37 +00:00
2017-09-12 23:15:34 +00:00
2017-10-21 14:35:19 +00:00
2017-09-28 02:51:41 +00:00
2017-10-23 14:05:07 +00:00
2017-10-23 14:05:07 +00:00
2017-10-23 14:05:07 +00:00
2017-10-08 07:00:01 +00:00
2017-10-26 15:29:36 +00:00
2017-09-15 16:56:16 +00:00
2017-10-10 12:30:42 +00:00
2017-10-21 06:22:53 +00:00
2017-10-21 20:26:26 +00:00
2017-10-23 14:05:07 +00:00
2017-10-25 23:45:33 +00:00
2017-10-22 11:27:06 +00:00
2017-10-17 07:41:04 +00:00
2017-08-15 21:36:16 +00:00
2017-10-21 16:05:01 +00:00
2017-08-13 12:14:24 +00:00
2017-10-19 05:10:38 +00:00
2017-10-22 16:03:57 +00:00
2017-10-29 05:46:23 +00:00
2017-10-20 09:03:37 +00:00
2017-10-21 12:34:13 +00:00
2017-10-27 23:26:48 +00:00
2017-10-23 06:25:39 +00:00
2017-10-25 13:29:27 +00:00
2017-10-08 07:00:01 +00:00
2017-09-28 10:51:31 +00:00
2017-10-30 23:56:44 +00:00
2017-10-21 23:57:10 +00:00
2017-10-23 07:06:12 +00:00
2017-09-07 17:45:34 +00:00
2017-09-30 03:31:32 +00:00
2017-10-21 13:34:19 +00:00
2017-10-08 07:00:01 +00:00
2017-10-21 07:00:58 +00:00
2017-10-22 09:16:54 +00:00
2017-10-22 12:25:34 +00:00
2017-10-08 07:00:01 +00:00
2017-10-20 01:03:18 +00:00
2017-10-08 07:00:01 +00:00