Converts a fetch Response object into a request-like response object.
The fetch Response to convert.
OptionalresolveWithFullResponse: booleanReturn the full Response object, otherwise abbreviate the response.
Optionalsimple: booleanOutright fail if anything other than a successful response is returned in the response.
A promise that resolves to a RequestResponse object.
To maintain backwards compatibility, we are exporting the RequestCommand exports which were moved to the client package