Skip to content

Commit

Permalink
Set header to close HTTP connections
Browse files Browse the repository at this point in the history
(fixes vlucas#594)
  • Loading branch information
bkimminich authored Oct 20, 2023
1 parent b81b492 commit 4759c47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/frisby.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const _globalSetupDefaults = {
headers: {
'Content-Type': 'application/json',
'User-Agent': 'frisby/' + version + ' (+https://github.com/vlucas/frisby)',
'Connection': 'close',
},
rawBody: false,
inspectOnFailure: true,
Expand Down

0 comments on commit 4759c47

Please sign in to comment.