securityos/node_modules/next/dist/esm/server/app-render/flight-render-result.js

13 lines
472 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
import { RSC_CONTENT_TYPE_HEADER } from "../../client/components/app-router-headers";
import RenderResult from "../render-result";
/**
* Flight Response is always set to RSC_CONTENT_TYPE_HEADER to ensure it does not get interpreted as HTML.
*/ export class FlightRenderResult extends RenderResult {
constructor(response){
super(response, {
contentType: RSC_CONTENT_TYPE_HEADER
});
}
}
//# sourceMappingURL=flight-render-result.js.map