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

TFPCustomHTTPClient.IsRedirect

Checks if an HTTP status code indicates a redirect

Declaration

Source position: fphttpclient.pp line 283

public class function TFPCustomHTTPClient.IsRedirect(

  ACode: Integer

):Boolean; virtual;

Arguments

ACode

  

The HTTP status code to check

Function result

True if the status code indicates a redirect

Description

Static utility method that returns True if the specified HTTP status code indicates a redirect (3xx codes).

See also

RedirectForcesGET

  

Checks if a redirect status code forces GET method


Documentation generated on: Jan 27 2026