Request FollowRedirects Property C# API
Gets or sets a value that indicates whether redirects will automatically be followed for this Request.

Namespace: Facilita.Web
Assembly: clrWebBrowser (in clrWebBrowser.dll) Version: (

public bool FollowRedirects { get; set; }

Field Value

true if redirects will automatically be followed for this Request; otherwise, false.

If the response to this request is an HTTP redirect code (e.g. 301, 302), and this Request object is set to follow redirects, then the eggPlant Performance engine will automatically follow the redirect link. In this case, the WasRedirected property value will be true for the Response object returned by Send , and RedirectedFrom will contain the Response object containing the HTTP redirect code.

Default behaviour for newly-created Request objects is to follow redirects, but this can be changed for individual Request objects using this property, or changed on all Request objects using DefaultFollowRedirects.

See Also