mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
e876c0c308
Add support for “sensitive”/“never-indexed” HTTP2 headers. Fixes: https://github.com/nodejs/node/issues/34091 PR-URL: https://github.com/nodejs/node/pull/34145 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Denys Otrishko <shishugi@gmail.com>
28 lines
466 B
JavaScript
28 lines
466 B
JavaScript
'use strict';
|
|
|
|
const {
|
|
connect,
|
|
constants,
|
|
createServer,
|
|
createSecureServer,
|
|
getDefaultSettings,
|
|
getPackedSettings,
|
|
getUnpackedSettings,
|
|
sensitiveHeaders,
|
|
Http2ServerRequest,
|
|
Http2ServerResponse
|
|
} = require('internal/http2/core');
|
|
|
|
module.exports = {
|
|
connect,
|
|
constants,
|
|
createServer,
|
|
createSecureServer,
|
|
getDefaultSettings,
|
|
getPackedSettings,
|
|
getUnpackedSettings,
|
|
sensitiveHeaders,
|
|
Http2ServerRequest,
|
|
Http2ServerResponse
|
|
};
|