Exception: ActiveSanction::HttpClient::TooManyRedirects

Inherits:
Error show all
Defined in:
lib/active_sanction/http_client/errors.rb

Overview

The redirect chain exceeded max_redirects without reaching a body. A cap rather than an unbounded follow, because a publisher misconfiguring a redirect should cost one request too many and not a crawl.

Not retryable, and neither are the two below: a misrouted URL is routed the same way on the next attempt, and this is the shape of failure that needs somebody to look at where the publisher moved the file to.

Instance Attribute Summary

Attributes included from Error

#source_id, #status

Method Summary

Methods inherited from FetchError

#retryable?

Methods included from Error

#in_source, #initialize, #retryable?, #to_h