1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/webrick
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
..
.htaccess
test_cgi.rb
test_config.rb
test_cookie.rb
test_do_not_reverse_lookup.rb
test_filehandler.rb
test_htmlutils.rb
test_httpauth.rb lib/webrick/log.rb: sanitize any type of logs 2017-09-14 11:16:23 +00:00
test_httpproxy.rb
test_httprequest.rb
test_httpresponse.rb webrick: support Proc objects as body responses 2017-10-30 23:56:44 +00:00
test_https.rb
test_httpserver.rb
test_httputils.rb
test_httpversion.rb
test_server.rb
test_ssl_server.rb webrick: do not hang acceptor on slow TLS connections 2017-10-12 18:50:07 +00:00
test_utils.rb Fix a typo. 2017-09-13 02:21:02 +00:00
utils.rb
webrick.cgi
webrick_long_filename.cgi