更新时间:2022-09-13 23:37:12
when we uploading text file as attachment, is it possible for us to view uploading file content in Chrome development tool?
Attachment uploading is implemented with Content-Disposition = attachment in Fiori application. Before processing this incident, Sara and I never knew there are still many other Content-Disposition type other than form-data, since form-data is widely used in web application.
Different content-disposition type has different semantic meaning and thus different implementation. For detail comparision, please refer to this link.
Back to our original question: suppose I would like to upload this text file as attachment:
When I upload it, in Chrome development tool it is not possible for me to see the file content:
It could only be achieved via Fiddle Web debugger:
When we try in Coporate wiki where the upload is implemented via form-data:
The result is the same: invisible in Chrome development tool:
But observable in Fiddle: