N
Noel Mc grath
New to ruby and trying to do a HTTP POST. From looking at documentation
it states
"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."
What does it mean by version 1.1 and 1.2?
I am using ruby version 1.9.2 and the method is returning a pair of
objects:
Net::HTTPResponse
string
I am under the impression I am using version 1.2 of the POST and
therefore should be recieving an object(Net::HTTPResponse)
Can someone clear this up for me, thanks
it states
"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."
What does it mean by version 1.1 and 1.2?
I am using ruby version 1.9.2 and the method is returning a pair of
objects:
Net::HTTPResponse
string
I am under the impression I am using version 1.2 of the POST and
therefore should be recieving an object(Net::HTTPResponse)
Can someone clear this up for me, thanks