hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohit Anchlia <mohitanch...@gmail.com>
Subject application/xml
Date Thu, 04 Aug 2011 22:45:36 GMT
I need to read from the servlet and then post to some other host.

When using Content-Type: application/xml which Entity
(ByteArray/String) should I be using to read from HttpServletRequest
to POST it to some other host. This xml also contains base64 encoded

encoding on the xml says

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

So I am assuming I should be using

StringRequestEntity(postData, "application/xml", "UTF8"));

To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org

View raw message