Is is possible to set an HttpClient to follow redirection only if this is a redirection on the same domain ?
I guess we could do that by checking somehow the redirected url and manually check if it is in the same domain (not sure if we can actually do that). Or maybe there is an option I did not find to do that automatically ?