Open Zomis opened 9 years ago
As I have been already working with mechanize when I tried to migrate JavaBot from HTMLUnit I must unfortunately inform you that (at least according to my research) there is no alternative to this method.
I think that in newer versions of the HttpClient, there is an alternative method named setRedirectHandler
which is not deprecated. The only question is how to make that work in the same way that the current one does.
this.agent.getClient().setRedirectStrategy
is a deprecated method call (line 75). Look for alternative.