You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# using version 1.1.1request=HTTPI::Request.new("http://google.com")response=HTTPI.get(request,:curb)putsresponse.code# => 301response=HTTPI.get(request,:curb)do |client|
client.follow_location=trueendputsresponse.code# => 200# using version 2.0.0.rc1request=HTTPI::Request.new("http://google.com")response=HTTPI.get(request,:curb)putsresponse.code# => 301response=HTTPI.get(request,:curb)do |client|
# this block is not calledclient.follow_location=trueend# this works!response=HTTPI.request(:get,request,:curb)do |client|
client.follow_location=trueendputsresponse.code# => 200
I can work on this. Ok?
Roger Leite
The text was updated successfully, but these errors were encountered:
I can work on this. Ok?
Roger Leite
The text was updated successfully, but these errors were encountered: