+ // Uses String UTF-8 to keep compatible with android version and
+ // older versions of the http client libs, as the one used
+ // in debian (4.1.x)
+ String s = URLEncodedUtils.format(parameters, "UTF-8");
+ StringEntity entity = new StringEntity(s, "UTF-8");
It's some time since I've dealt with Android, do they actually include HttpClient as part of the OS? If so, how do we deal with the OSGi-Exports in our httputil-bundle that declare providing org.apache.*?
Btw: the Charset overload was introduced in 4.2
And you mention Debian also using an older version? The reason for the update was an SSL security fix in the library, so using anything older than 4.2.3 is a really bad idea. In any distro.
--- trunk/resources/install/build.xml (revision 10305)
+++ trunk/resources/install/build.xml (revision 10306)
@@ -2874,10 +2874,10 @@
<!-- libhttpcore-java libhttpmime-java libhttpclient-java -->
Sorry, missed that. But shouldn't the httpmime symlink also be dropped here?
And in <target name="deb-bundle-httputil">?
What does that do anyway?