xhr content-type form-data I can inspect the form-data content submitted by xhr on chrome devtool as the above pic shows
form.submit() form-data However, I see an old library using the default form.submit() method to upload an image. From the request headers, it shows "Content-Type: multipart/form-data; boundary=----...". But the request body (Form Data section) does not even appear on the devtool.
I rarely use the default submit method. Is it the default behaviour on chrome? If so, why is it? And is there any workaround? As I want to see the Content-Disposition.
Edit:
Tried "preserve log" option, but no luck. Seems like a bug on chrome, as I can see the request payload on Edge and Firefox.