lib/ezclient/request.rb in ezclient-1.4.0 vs lib/ezclient/request.rb in ezclient-1.5.0
- old
+ new
@@ -101,10 +101,9 @@
end
def perform_request
with_retry do
# Use original client so that connection can be reused
- # client.perform(http_request, http_options)
res = client.perform(http_request, http_options)
return res unless follow
HTTP::Redirector.new(follow).perform(http_request, res) do |request|
client.perform(request, http_options)