I am using WSClient and trying to get the status for links.
wsClient.url(linktoCheckStatus).head.map(response => response.status)
For status 200 its ok and running fine but link where we are having redirection i am getting below error.
play.shaded.ahc.org.asynchttpclient.handler.MaxRedirectException: Maximum redirect reached: 5.
Can we modify or overwrite this limit or is there any method by which we can check the last status only.
(ignoring redirection status).