Skip to content

DefaultAllowedHeaders

Default set of allowed CORS headers

Declaration

Source position: httpdefs.pp line 794

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