Sign in Join
FPDoc Onlineexperiment

THandleCORSOption enumeration

In unit HTTPDefs

Options for handling CORS requests

Declaration

pascal
THandleCORSOption = (hcDetect,hcFull,hcHumanReadable,hcSend)

Description

THandleCORSOption defines options that control how CORS requests are handled. These options affect the processing and response generation for cross-origin requests.

Values

hcDetectDetect CORS requests option
hcFullFull CORS handling option
hcHumanReadableHuman readable CORS handling option
hcSendSend CORS headers option

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.