getMultipartBoundary

View Source

Summary

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

Signature

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

Params

contentType

The Content-Type header value from the request

Returns

The boundary string if found, or null if not present