fix(core): response.handler - removed metadata application
MODIFY
packages/core/src/response/response.handler.ts
packages/core/src/response/response.handler.ts
@@ -5,7 +5,6 @@ import { HttpRequest, HttpResponse, HttpStatus } from '../http.interface';
import { bodyFactory } from './responseBody.factory';
import { headersFactory } from './responseHeaders.factory';
import { isStream } from '../+internal/utils';
-import { applyMetadata } from '../+internal/testing';
export const handleResponse = (res: HttpResponse) => (req: HttpRequest) => (effectResponse: HttpEffectResponse) => {
if (res.finished) { return EMPTY; }
@@ -19,8 +18,6 @@ export const handleResponse = (res: HttpResponse) => (req: HttpRequest) => (effe
const bodyFactoryWithHeaders = bodyFactory(headers);
const body = bodyFactoryWithHeaders(effectResponse.body);
- applyMetadata(req, res);
-
if (isStream(body)) {
res.writeHead(status, headers);
body.pipe(res);

fix(core): response.handler - removed metadata application