TFPCustomHTTPClient.RedirectForcesGET function
Checks if a redirect status code forces GET method
Declaration
class function RedirectForcesGET(ACode: Integer): Boolean; virtualArguments
ACode | The HTTP redirect status code to check |
Function result
True if the redirect forces GET methodDescription
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
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
