这个问题是关于文件上传请求体的内容的

<input type="file" name="myfile" class="form-control pull-right" placeholder="文件上传">

对于这个input标签(注意有个name属性;)
此时你点击上传文件,能够获得请求体的内容:
image

但是,如果你把input标签中的name属性去掉,你会发现这时候的请求体内容是:
image

问题就是:为啥会出现这种情况呢??谢谢