Skip to content

Commit c2aea26

Browse files
committed
add missing responseHeaders
1 parent 936e9d7 commit c2aea26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fetch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export function fetchImpl(url, { onNext, onComplete, onError, ...fetchOptions })
3737
});
3838
} else {
3939
return response.json().then((json) => {
40-
onNext([json]);
40+
onNext([json], { responseHeaders: response.headers });
4141
onComplete();
4242
});
4343
}

0 commit comments

Comments
 (0)