httpclient
当POST表单时使用了Content-Type:multipart/form-data时表单自动编码了:
如下
POST ------------------ HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: multipart/form-data; boundary=
MIME-Version: 1.0
Content-Length: 6329
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.3.1 (java 1.5)
Cookie: JSESSIONID=
Cookie2: $Version=1
- - - - -=_Part_35_1834923761.1445844705665
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: form-data; name="content"
<?xml version=3D'1.0' encoding=3D"GBK" standalone=3D"yes"?>
<Package xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance">
<Header>
<RequestType>01</RequestType>
<SendTime>2014-11-28 11:35:05</SendTime>
<ThirdSerial>R2015030501</ThirdSerial>
<ComSerial xsi:nil=3D"true"/>
<Asyn>0</Asyn>
<ProductCode>0001</ProductCode>
</Header>
<Request>
POST是一个表单 ,xml本身是表单content的值,
可是服务器不支持quoted-printable这个编码,tmd.
求解