MCPcopy
hub / github.com/prisma/prisma / isHeadRequest

Function isHeadRequest

packages/cli/src/studio-server.ts:159–161  ·  view source on GitHub ↗
(method: string | undefined)

Source from the content-addressed store, hash-verified

157}
158
159function isHeadRequest(method: string | undefined): boolean {
160 return method === 'HEAD'
161}
162
163function methodHasRequestBody(method: string | undefined): boolean {
164 return method !== 'GET' && method !== 'HEAD'

Callers 1

writeNodeResponseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected