Skip to content

DefaultAllowedMethods

Default set of allowed CORS methods

Declaration

Source position: httpdefs.pp line 796

const
  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.