MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / isMultipartFormData

Function isMultipartFormData

packages/plugins/openapi/src/sdk/invoke.ts:204–205  ·  view source on GitHub ↗
(ct: string | null | undefined)

Source from the content-addressed store, hash-verified

202 normalizeContentType(ct) === "application/x-www-form-urlencoded";
203
204const isMultipartFormData = (ct: string | null | undefined): boolean =>
205 normalizeContentType(ct).startsWith("multipart/form-data");
206
207const isXmlContentType = (ct: string | null | undefined): boolean => {
208 const normalized = normalizeContentType(ct);

Callers 1

applyRequestBodyFunction · 0.85

Calls 1

normalizeContentTypeFunction · 0.85

Tested by

no test coverage detected