HTTP FollowRedirects and META Refresh

The Chilkat HTTP component’s FollowRedirects property controls whether 301 and 302 HTTP response statuses (i.e. redirect responses) are automatically followed. Pages returning a normal 200 HTTP response status with a META refresh embedded within the HTML are not automatically followed.

More about META Refresh:

Meta refresh is a method of instructing a web browser to automatically refresh the current web page after a given time interval, using an HTML meta element with the http-equiv parameter set to “refresh” and a content parameter giving the time interval in seconds. It is also possible to instruct the browser to fetch a different URL when the page is refreshed, by including the alternative URL in the content parameter. By setting the refresh time interval to zero (or a very low value), this allows meta refresh to be used as a method of URL redirection.

META Refresh Tag Examples:

Refresh page after 5 seconds:

<meta http-equiv="refresh" content="5"/>

Redirect to http://example-code.com/ after 5 seconds:

<meta http-equiv="refresh" content="5;url=http://example-code.com/"/>

Redirect to http://example-code.com/ immediately:

<meta http-equiv="refresh" content="0;url=http://example-code.com/"/>