kinetex - v1.0.0-rc.1
    Preparing search index...

    Function parseMultipartResponse

    • Parse a multipart/mixed or multipart/form-data response body.

      Handles preamble (content before first boundary) and epilogue (content after final boundary) by skipping them appropriately per RFC 2046.

      Parameters

      • response: Response

        The fetch Response with Content-Type: multipart/*.

      Returns Promise<MultipartPart[]>

      An array of parsed MultipartPart (headers + body).

      If no boundary is found in Content-Type.