使用Chrome debug attachment upload page:从local laptop上选择一个file以后,断点触发:前端
前端取得user选中的file name:post
点Attach button后,触发Application server 的event handler:spa
从Chrome network tab能观察到,UI向Application server发送了一个http post:debug
LOOP全部form parts:3d
从对应的form part里取出file name, file type:orm
以及实际的文件内容(因为security缘由,该form part的内容没法在Chrome的network里观察到)server
要获取更多Jerry的原创文章,请关注公众号"汪子熙":blog