KB Article #179691

How many redirects will the 'follow redirects' setting on a Connect to URL follow?

Problem

It's not clear how many redirects the 'follow redirects' setting will follow in the Connect to URL filter.

Resolution

This depends on whether 'retry on failure' is also set or not. If 'retry on failure' is not set, then the 'follow redirects' setting will only follow one redirect. If 'retry on failure' is set, even if no HTTP status codes are chosen, then the 'retry count' in the 'retry on failure' setting is used as the total number of times to try. This encompasses the total number of both failures and redirects that will be attempted. Note that certain things, like HTTP Basic authentication, may consume an attempt as well, because the client makes the request, receives the header asking for authentication, then retries the request with authentication provided.