Sign in Join
FPDoc Onlineexperiment

DefaultAllowedMethods constant

In unit HTTPDefs

Default set of allowed CORS methods

Declaration

pascal
DefaultAllowedMethods = 'GET, PUT, POST, OPTIONS, HEAD'

Description

DefaultAllowedMethods contains the default set of HTTP methods allowed in CORS requests. This constant provides a standard list of permitted methods for cross-origin resource sharing.

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