TFPCustomHTTPClient.RedirectForcesGET¶
Checks if a redirect status code forces GET method
Declaration¶
Source position: fphttpclient.pp line 297
public
class function TFPCustomHTTPClient.RedirectForcesGET(ACode: Integer)
: Boolean; virtual;
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¶
| Name | Description |
|---|---|
| IsRedirect | Checks if an HTTP status code indicates a redirect |