Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
0.8
-
None
-
Patch Available
Description
Net::HTTP.post no longer returns the HTTP response body string as a second return value. From http://ruby-doc.org/stdlib-1.8.7/libdoc/net/http/rdoc/Net/HTTP.html:
"In version 1.1 (ruby 1.6), this method returns a pair of objects, a Net::HTTPResponse object and an entity body string. In version 1.2 (ruby 1.8), this method returns a Net::HTTPResponse object."
The attached patch modifies http_client_transport.rb to get the response body from the returned Net::HTTPResponse object instead.