1. libcurl only follows pure HTTP redirects. It doesn't deal with HTML or javascript or other kinds of redirects.