Sign in Join
FPDoc Onlineexperiment

DefaultAllowedHeaders constant

In unit HTTPDefs

Default set of allowed CORS headers

Declaration

pascal
DefaultAllowedHeaders = 'x-requested-with, content-type, authorization'

Description

DefaultAllowedHeaders contains the default set of HTTP headers allowed in CORS requests. This constant provides a standard list of commonly permitted headers for cross-origin requests.

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