( body: FormData, options?: Options.WithContent | undefined )
| 423 | * @since 4.0.0 |
| 424 | */ |
| 425 | export const formData = ( |
| 426 | body: FormData, |
| 427 | options?: Options.WithContent | undefined |
| 428 | ): HttpServerResponse => |
| 429 | makeResponse({ |
| 430 | status: options?.status ?? 200, |
| 431 | statusText: options?.statusText, |
| 432 | headers: options?.headers && Headers.fromInput(options.headers), |
| 433 | cookies: options?.cookies, |
| 434 | body: Body.formData(body) |
| 435 | }) |
| 436 | |
| 437 | /** |
| 438 | * Creates a streaming response from a stream of byte chunks. |
nothing calls this directly
no test coverage detected