Represents the common fields and attributes of an HTTP response. It contains also the original Request which was made to get this Response.
More info at MDN
returns the Headers from the given Response
A boolean indicating whether the response was successful (status in the range 200 – 299) or not.
Indicates whether or not the response is the result of a redirect (that is, its URL list has more than one entry).
The status code of the response. (This will be 200 for a success).
The status message corresponding to the status code. (e.g., OK for 200).
The type of the response (e.g., basic, cors).
The URL of the response.
extracts the body as arrayBuffer from the given Response
extracts the body as blob from the given Response
extracts the body as string from the given Response
creates a copy of the Response.
extracts the body as formData from the given Response
extracts the body as json from the given Response