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

TFPCustomHTTPClient.RedirectForcesGET

Checks if a redirect status code forces GET method

Declaration

Source position: fphttpclient.pp line 285

public class function TFPCustomHTTPClient.RedirectForcesGET(

  ACode: Integer

):Boolean; virtual;

Arguments

ACode

  

The HTTP redirect status code to check

Function result

True if the redirect forces GET method

Description

Static utility method that returns True if the specified redirect status code requires changing the HTTP method to GET. This applies to certain 3xx status codes that mandate method changes.

See also

IsRedirect

  

Checks if an HTTP status code indicates a redirect


Documentation generated on: Jan 27 2026