Unit 'fpHTTPClient' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

DefMaxRedirects

Default maximum number of HTTP redirects to follow

Declaration

Source position: fphttpclient.pp line 35

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

TFPHTTPClient.MaxRedirects

  

Maximum number of redirects to follow automatically

TFPHTTPClient.AllowRedirect

  

Whether to automatically follow HTTP redirects


Documentation generated on: Jan 27 2026