Hello,

I'm busy updating CloudforkSSO to use the latest version of the Zinc http client (ZnClient). Most of the required changes are pretty simple. But I have a problem with redirects.

I cannot let ZnClient handle the redirects�because�I need to update the Authorization header. So I use the dontFollowRedirects option and proces the redirect myself. But now ZnClient signals a ZnTooManyRedirects exception when a redirect response is received.�

It seems more logical to me to just answer the response. Especially when the numberOfRetries option is�greater�than zero. It's no use retrying a request that answers a redirect.

Is it possible to change ZnClient so that it doesn't signal a ZnTooManyRedirects when the maxNumberOfRedirects is zero?

Jan.

PS: For the rest I really like the simple but�powerful�interface of ZnClient!