| Linux premium331.web-hosting.com 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64 Path : /home/livedhms/lmgt/node_modules/next/dist/server/lib/ |
| Current File : //home/livedhms/lmgt/node_modules/next/dist/server/lib/clone-response.d.ts |
/** * Clones a response by teeing the body so we can return two independent * ReadableStreams from it. This avoids the bug in the undici library around * response cloning. * * After cloning, the original response's body will be consumed and closed. * * @see https://github.com/vercel/next.js/pull/73274 * * @param original - The original response to clone. * @returns A tuple containing two independent clones of the original response. */ export declare function cloneResponse(original: Response): [Response, Response];