diff --git a/src/server/http/index.js b/src/server/http/index.js index 690451bb2cbca..fc72ffd759758 100644 --- a/src/server/http/index.js +++ b/src/server/http/index.js @@ -92,7 +92,6 @@ export default async function (kbnServer, server, config) { const customHeaders = { ...config.get('server.customResponseHeaders'), 'kbn-name': kbnServer.name, - 'kbn-version': kbnServer.version, }; if (response.isBoom) { diff --git a/src/server/http/version_check.test.js b/src/server/http/version_check.test.js index e04737aed2a18..4bcf66acc5c11 100644 --- a/src/server/http/version_check.test.js +++ b/src/server/http/version_check.test.js @@ -78,7 +78,6 @@ describe('version_check request filter', function () { }); expect(resp.statusCode).toBe(400); - expect(resp.headers).toHaveProperty(versionHeader, version); expect(resp.payload).toMatch(/"Browser client is out of date/); });