摘要: 用httpclient upload上传文件时,代码如下: 一直提示如下异常: 原因在于设定了contentType的值。当为boundary设定了contentType后,server不知道boundary如何处理。 因此,删掉contentType的设定即可。 阅读全文
posted @ 2017-08-24 11:56 飞昂之雪 阅读(1895) 评论(0) 推荐(0) 编辑