Open NghiaTranUIT opened 1 year ago
Show this view if the total body is over 5Mb. If it's < 5Mb, show the Multipart view as usual
Verify that if body > 5 Mb, we don't process the Multipart data, because it can cause performance issues (app hangs, freeze, ...)
Use a Save
and "Show anyway" button. Remove the "Open With" button.
Save
: Select a folder -> Proxyman will export ALL
parts to a selected folder, each part should have the name by format:
filename
column -> Use this filenamefilename
-> Use generic name: Part_${index}
Show anyway
will show the Multipart view as usual. This selection doesn't persist, it will reset to FALSE if we select new flow.
test
in the Desktop
. Verify We have 3 files are exported ✅ (2 files are image/video, can open it, and the last file is a JSON text)Show anyway
button -> Show the Multipart Preview as usual
Description
Acceptance Criteria
multipart/form-data
)Make sure the Body Tab renders correctly
Able to export the FILE to Desktop -> Export with filename + extension -> Able to open it without any error.
Logic
MultipartService
to handle the parserHow to test