MCPcopy
hub / github.com/prisma/prisma / emptyResponse

Function emptyResponse

packages/cli/src/Studio.ts:670–672  ·  view source on GitHub ↗
(status: number, headers?: Record<string, string>)

Source from the content-addressed store, hash-verified

668}
669
670function emptyResponse(status: number, headers?: Record<string, string>): Response {
671 return withCors(new Response(null, { headers, status }))
672}
673
674function optionsResponse(): Response {
675 return emptyResponse(204, {

Callers 2

optionsResponseFunction · 0.85

Calls 1

withCorsFunction · 0.85

Tested by

no test coverage detected