Remix
Remix
remix/multipart-parser/node · FunctionView Source

getMultipartBoundary

Summary

Extracts the boundary string from a multipart/* content type.

Signature

function getMultipartBoundary(contentType: string): string | null;

Parameters

contentType

The Content-Type header value from the request

Returns

The boundary string if found, or null if not present