Skip to content

DefMaxRedirects

Default maximum number of HTTP redirects to follow

Declaration

Source position: fphttpclient.pp line 39

const
  DefMaxRedirects = 16;

Description

Default maximum number of HTTP redirects that will be followed automatically. The value is 16, which prevents infinite redirect loops while allowing reasonable redirect chains.

See also

Name Description
TFPHTTPClient.MaxRedirects Maximum number of redirects to follow automatically
TFPHTTPClient.AllowRedirect Whether to automatically follow HTTP redirects