Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any callback function on redirection?

Tags:

c++

c

curl

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?


1 Answers

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.

like image 200
Jon Avatar answered May 23 '26 15:05

Jon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!