test: fix test case in test-http2-respond-file-304.js
PR-URL: https://github.com/nodejs/node/pull/26565 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
This commit is contained in:
parent
04d07bf525
commit
e6fa50e953
@ -33,7 +33,7 @@ server.listen(0, () => {
|
||||
|
||||
req.on('response', common.mustCall((headers) => {
|
||||
assert.strictEqual(headers[HTTP2_HEADER_STATUS], 304);
|
||||
assert.strictEqual(headers[HTTP2_HEADER_CONTENT_TYPE, undefined]);
|
||||
assert.strictEqual(headers[HTTP2_HEADER_CONTENT_TYPE], undefined);
|
||||
}));
|
||||
|
||||
req.on('data', common.mustNotCall());
|
||||
|
Loading…
x
Reference in New Issue
Block a user