Network tab/Request Payload content-type: multipart/form-data; file upload

4,486 views
Skip to first unread message

exercising camel

unread,
Aug 9, 2015, 11:18:14 AM8/9/15
to Google Chrome Developer Tools
In the Network tab for a POST request with a Content-Type: multipart/form-data; boundary=------WebKitFormBoundarysYQjTNNOkHVxUPIm
the Request Payload section doesn't show the content of a upload file;

it shows:

------WebKitFormBoundarysYQjTNNOkHVxUPIm
Content-Disposition: form-data; name="myFile"; filename="abc.txt"
Content-Type: text/plain


------WebKitFormBoundarysYQjTNNOkHVxUPIm
Content-Disposition: form-data; name="foo"

bar
------WebKitFormBoundarysYQjTNNOkHVxUPIm--


rather than:

------WebKitFormBoundarysYQjTNNOkHVxUPIm
Content-Disposition: form-data; name="myFile"; filename="abc.txt"
Content-Type: text/plain

abc
------WebKitFormBoundarysYQjTNNOkHVxUPIm
Content-Disposition: form-data; name="foo"

bar
------WebKitFormBoundarysYQjTNNOkHVxUPIm--


for example.

Andrey Kosyakov

unread,
Aug 9, 2015, 2:00:23 PM8/9/15
to Google Chrome Developer Tools
On Sun, Aug 9, 2015 at 6:18 PM, exercising camel <exercisi...@gmail.com> wrote:
In the Network tab for a POST request with a Content-Type: multipart/form-data; boundary=------WebKitFormBoundarysYQjTNNOkHVxUPIm
the Request Payload section doesn't show the content of a upload file;

Please file this on crbug.com -- this is due to limitations of current design, as we send post data instantly to the front-end and don't want huge file uploads to thrash the front-end.
Reply all
Reply to author
Forward
0 new messages