lib/net/http.rb (Net::HTTPResponse#read_chunked): ensure to skip the last newline of chunk. [ruby-core:29229]
test/net/http/utils.rb: add an option for chunked response test.
test/net/http/test_http.rb: add tests for chunked response.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
lib/net/http.rb (Net::HTTPResponse#read_chunked): ensure to skip the
last newline of chunk. [ruby-core:29229]
test/net/http/utils.rb: add an option for chunked response test.
test/net/http/test_http.rb: add tests for chunked response.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e