mirror of
https://gitee.com/egzosn/pay-java-parent.git
synced 2026-05-09 22:00:49 +08:00
微信沙盒测试流程中,发送xml格式的参数请求application/xml
This commit is contained in:
@@ -38,6 +38,7 @@ import static com.egzosn.pay.common.http.UriVariables.getMapToParameters;
|
||||
public class ClientHttpRequest<T> extends HttpEntityEnclosingRequestBase implements org.apache.http.client.ResponseHandler<T> {
|
||||
protected static final Log LOG = LogFactory.getLog(ClientHttpRequest.class);
|
||||
public static final ContentType APPLICATION_FORM_URLENCODED_UTF_8 = ContentType.create("application/x-www-form-urlencoded", Consts.UTF_8);
|
||||
public static final ContentType APPLICATION_XML_UTF_8 = ContentType.create("application/xml", Consts.UTF_8);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user