We need the application to be notified when redirection happens. Does curl offers an option to register a callback function when redirect response is received?
No, not at this time. However the matter has been discussed and it's likely that such functionality will be implemented in the future. Meanwhile there is a patch for libcurl you might find useful.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With