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

Function isFormUrlEncoded

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

Source from the content-addressed store, hash-verified

192};
193
194const isFormUrlEncoded = (ct: string | null | undefined): boolean =>
195 normalizeContentType(ct) === "application/x-www-form-urlencoded";
196
197const isMultipartFormData = (ct: string | null | undefined): boolean =>
198 normalizeContentType(ct).startsWith("multipart/form-data");

Callers 1

applyRequestBodyFunction · 0.85

Calls 1

normalizeContentTypeFunction · 0.85

Tested by

no test coverage detected