We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 436406d commit e37e4e3Copy full SHA for e37e4e3
src/Fetch.js
@@ -145,16 +145,13 @@ class Fetch {
145
});
146
147
this._streamController = streamController;
148
+ this._stream = stream;
149
this._responseStatus = status;
150
this._nativeResponseHeaders = headers;
151
this._responseUrl = url;
152
153
if (this._nativeResponseType === "text") {
- this._response = new Response(stream, {
154
- status,
155
- headers,
156
- url,
157
- });
+ this._response = new Response(stream, { status, headers, url });
158
this._deferredPromise.resolve(this._response);
159
}
160
0 commit comments