Results 21 - 40 of 49

Request.clone()

The clone() method of the Request interface creates a copy of the current Request object.
API clone Experimental Fetch Method Reference request

Request.context

The context read-only property of the Request interface contains the context of the Request (e.g., audio, image, iframe). This defines what sort of resource is being fetched.
API Context Experimental Fetch Property Reference request

Request.credentials

The credentials read-only property of the Request interface indicates whether the user agent should send cookies from the other domain in the case of cross-origin requests. This is similar to XHR’s withCredentials flag, but with three available values (instead of two):
API credentials Experimental Fetch Property Reference request

Request.headers

The headers read-only property of the Request interface contains the Headers object associated with the request.
API Experimental Fetch Headers Property Reference request

Request.method

The method read-only property of the Request interface contains the request's method (GET, POST, etc.)
API Experimental Fetch Property Reference request

Request.mode

The mode read-only property of the Request interface contains the mode of the request (e.g., cors, no-cors, cors-with-forced-preflight, same-origin, or navigate.) This is used to determine if cross-origin requests lead to valid responses, and which properties of the response are readable:
API Experimental Fetch mode Property Reference request

Request.referrer

The referrer read-only property of the Request interface is set by the user agent to be the referrer of the Request. (e.g., about:client, no-referrer, or a URL.)
API Experimental Fetch Property Reference referrer request

Request.referrerPolicy

The referrerPolicy read-only property of the Request interface contains the referrer policy governing the referrer for the  request.
API Experimental Fetch Property Reference referrerPolicy request

Request.url

The url read-only property of the Request interface contains the URL of the request.
API Experimental Fetch Property Reference request URL