Jump to content

Recommended Posts

Is there a method to change the MaxRedirects of TRESTClient from the default of 5 to say 10? so that the redirection limit can be increased. 

some sites have more then 5 redirections , once the limit is reached the TRESTClient  causes an exception. 

 

Handle redirects is set to true but no method exists for maxredirects using TRESTClient or TRESTRequest 

 

client  : TRESTClient;
 request : TRESTRequest;

....

 

client.HandleRedirects:=true;

MaxRedirects ??

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×