传输包时,multipart / form-data POST中缺少边界

时间:2018-05-28 04:00:10

标签: ajax file-upload multipartform-data

这是包形式客户端(浏览器):

...
Content-type: multipart/form-data; boundary=----WebkitFormBoundaryxxx
...

这是从服务器收到的包:

...
Content-type: multipart/form-data
...

这是来自服务器的错误日志:

org.apache.commons.fileupload.FileUploadException: the request was rejected because no multipart boundary was found

任何人都可以帮我解决这个问题。谢谢!

0 个答案:

没有答案