MCPcopy Index your code
hub / github.com/massCodeIO/massCode / createEmptyRequestParts

Function createEmptyRequestParts

src/main/http/import/normalize.ts:186–202  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

184}
185
186export function createEmptyRequestParts(): {
187 auth: HttpAuth
188 body: string | null
189 bodyType: HttpBodyType
190 formData: HttpFormDataEntry[]
191 headers: HttpHeaderEntry[]
192 query: HttpQueryEntry[]
193} {
194 return {
195 auth: { type: 'none' },
196 body: null,
197 bodyType: 'none',
198 formData: [],
199 headers: [],
200 query: [],
201 }
202}

Callers 3

parseOperationFunction · 0.90
parseRequestFunction · 0.90
parseRequestFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected