Answer the question
In order to leave comments, you need to log in
How to handle multipart in JavaScript browser?
Hey!
How to process a request with Content-Type: multipart/mixed in a JavaScript browser?
I have already written a parser for such a file.
I store the response body in a Uint8Array. And I'm already working with him. For example, I do a division along the line boundary.
This works very slowly. A file of 20 megabytes can already lead the browser tightly and it happens that everything collapses. We need a different algorithm.
What other ways are there to work with binary data?
In this case, we are interested in searching and breaking into pieces.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question