Crest.get(url, max_redirects: 0, handle_errors: false) do |response|
end
against a response of 302 will always raise a "Found" exception. The usecase is to have a streaming response, but with an ability to detect it in case the site returns a 302 with an invalid response.
against a response of 302 will always raise a "Found" exception. The usecase is to have a streaming response, but with an ability to detect it in case the site returns a 302 with an invalid response.