Skip to content

Instantly share code, notes, and snippets.

@bgoonz
Created June 15, 2022 13:30
Show Gist options
  • Save bgoonz/b76229f1b1215841c721b03a6ffec115 to your computer and use it in GitHub Desktop.
Save bgoonz/b76229f1b1215841c721b03a6ffec115 to your computer and use it in GitHub Desktop.
Request - Web APIs | MDN

Request

Request() constructor

cross-origin referrer stripped out and navigate mode converted to same-origin when constructor created from existing Request object.

init.referrer parameter

navigate mode

Send ReadableStream in request body

Experimental

Consume response body as a ReadableStream

arrayBufferblobbodybodyUsedcache

only-if-cached

Experimental

clonecredentials

Default value same-origin

destinationformDataheadersintegrity

isHistoryNavigation

jsonkeepalivemethodmode

navigate mode

priority

Experimental

redirectreferrerreferrerPolicysignaltexturl

Url: https://developer.mozilla.org/en-US/docs/Web/API/Request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment