lib/link_thumbnailer/processor.rb in link_thumbnailer-3.3.0 vs lib/link_thumbnailer/processor.rb in link_thumbnailer-3.3.1

- old
+ new

@@ -57,10 +57,10 @@ raise ::LinkThumbnailer::FormatNotSupported.new(response['Content-Type']) unless valid_response_format?(response) case response when ::Net::HTTPSuccess - response.body + Response.new(response).body when ::Net::HTTPRedirection call( resolve_relative_url(response['location'].to_s), redirect_count + 1, headers