( body: unknown, options?: Options | undefined )
| 402 | * @since 4.0.0 |
| 403 | */ |
| 404 | export const raw = ( |
| 405 | body: unknown, |
| 406 | options?: Options | undefined |
| 407 | ): HttpServerResponse => |
| 408 | makeResponse({ |
| 409 | status: options?.status ?? 200, |
| 410 | statusText: options?.statusText, |
| 411 | headers: options?.headers && Headers.fromInput(options.headers), |
| 412 | cookies: options?.cookies, |
| 413 | body: Body.raw(body, { |
| 414 | contentType: options?.contentType, |
| 415 | contentLength: options?.contentLength |
| 416 | }) |
| 417 | }) |
| 418 | |
| 419 | /** |
| 420 | * Creates a response whose body is a Web `FormData` value. |
nothing calls this directly
no test coverage detected