public static final String THREAD_SUBJECT = "[{0}]";
@NonNls private static final String HTTP_CONTENT_LENGTH = "Content-Length";
@NonNls private static final String HTTP_CONTENT_TYPE = "Content-Type";
@NonNls private static final String HTTP_WWW_FORM = "application/x-www-form-urlencoded";
@NonNls private static final String HTTP_POST = "POST";
<BUG>private static HttpURLConnection post (String url, Map<String,String> params) throws IOException, MalformedURLException {
</BUG>
HttpURLConnection connection = (HttpURLConnection) new URL (url).openConnection();
connection.setReadTimeout(10 * 1000);
connection.setConnectTimeout(10 * 1000);

public static final String THREAD_SUBJECT = "[{0}]";
@NonNls private static final String HTTP_CONTENT_LENGTH = "Content-Length";
@NonNls private static final String HTTP_CONTENT_TYPE = "Content-Type";
@NonNls private static final String HTTP_WWW_FORM = "application/x-www-form-urlencoded";
@NonNls private static final String HTTP_POST = "POST";
private static HttpURLConnection post (String url, List<Pair<String,String>> params) throws IOException, MalformedURLException {
HttpURLConnection connection = (HttpURLConnection) new URL (url).openConnection();
connection.setReadTimeout(10 * 1000);
connection.setConnectTimeout(10 * 1000);
