Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. HTTP
  3. Reference
  4. Headers
  5. Access-Control-Request-Headers

Access-Control-Request-Headers header

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

The HTTPAccess-Control-Request-Headersrequest header is used by browsers when issuing apreflight request to let the server know whichHTTP headers the client might send when the actual request is made (such as withfetch() orXMLHttpRequest.setRequestHeader()). The complementary server-side header ofAccess-Control-Allow-Headers will answer this browser-side header.

Header typeRequest header
Forbidden request headerYes

Syntax

http
Access-Control-Request-Headers: <header-name>,<header-name>,…

Directives

<header-name>

A sorted list of unique, comma-separated, lowercaseHTTP headers that are included in the request.

Examples

http
Access-Control-Request-Headers: content-type,x-pingother

Specifications

Specification
Fetch
# http-access-control-request-headers

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2026 Movatter.jp