
fileupload.FileUploadException: the request was rejected because no multipart boundary was found
前端headers设置 contentType:false或者注掉contentType,这样上传图片request请求会自动添加这个请求参数的格式和boundary标识,就不会报错了。前端在上传照片时,headers写死了 content-type="multipart/form-data",导致浏览器无法在请求头加上boundary标识,产生冲突。




