异常:Content is not allowed in trailing section.
问题找到了 这个是因为上传的时候out.write(buffer)导致出现文件结尾多出空格的原因改为out.write(buffer,0,n); 也就是读多少写多少