Skip to content

Commit

Permalink
Allow Request objects to be cloned
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbarratt-drizly committed Nov 23, 2023
1 parent d1bdf9b commit 5204f70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/primitives/src/primitives/fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ process.emitWarning = () => {}

class Request extends BaseRequest {
constructor(input, init) {
super(input, addDuplexToInit(init))
super(input, init);
this.duplex = 'half';
}
}

Expand Down

0 comments on commit 5204f70

Please sign in to comment.