Skip to content

Commit

Permalink
Revert "Ignore the Keep-Alive header when recording/verifying"
Browse files Browse the repository at this point in the history
This reverts commit 028b2e9.
papandreou committed Aug 26, 2024
1 parent bef5927 commit f080d49
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions test/unexpectedMitm.js
Original file line number Diff line number Diff line change
@@ -3153,7 +3153,7 @@ describe('unexpectedMitm', () => {
response: 405,
verify: {
response: {
ignoreHeaders: ['x-is-test', 'Keep-Alive'],
ignoreHeaders: ['x-is-test'],
},
},
},
@@ -3192,7 +3192,7 @@ describe('unexpectedMitm', () => {
response: 405,
verify: {
response: {
ignoreHeaders: ['X-Is-Test', 'Keep-Alive'],
ignoreHeaders: ['X-Is-Test'],
},
},
},
@@ -3201,7 +3201,7 @@ describe('unexpectedMitm', () => {
response: 406,
verify: {
response: {
ignoreHeaders: ['X-So-Is-This', 'Keep-Alive'],
ignoreHeaders: ['X-So-Is-This'],
},
},
},
2 changes: 1 addition & 1 deletion testdata/replay-and-verify.js
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ module.exports = {
"response": 202,
"verify": {
"response": {
"ignoreHeaders": ["X-Is-Test", "Keep-Alive"]
"ignoreHeaders": ["X-Is-Test"]
}
}
};

0 comments on commit f080d49

Please sign in to comment.