diff --git a/packages/kbn-cli-dev-mode/src/base_path_proxy/http1.ts b/packages/kbn-cli-dev-mode/src/base_path_proxy/http1.ts index d7b77d0c2163..9db41ba84742 100644 --- a/packages/kbn-cli-dev-mode/src/base_path_proxy/http1.ts +++ b/packages/kbn-cli-dev-mode/src/base_path_proxy/http1.ts @@ -126,12 +126,6 @@ export class Http1BasePathProxyServer implements BasePathProxyServer { xforward: true, mapUri: async (request: Request) => { return { - // Passing in this header to merge it is a workaround until this is fixed: - // https://github.com/hapijs/h2o2/issues/124 - headers: - request.headers['content-length'] != null - ? { 'content-length': request.headers['content-length'] } - : undefined, uri: Url.format({ hostname: request.server.info.host, port: this.devConfig.basePathProxyTargetPort,