if (xmlRqst != null && xmlRqst.length() > MP_FORM_DATA_TRESHOLD)
{
// multipart form data (faster?)
NVPair[] ct_hdr = new NVPair[1];
byte[] data = Codecs.mpFormDataEncode(formData,null,ct_hdr);
httpResponse = httpConnection.Post(url.getFile(),data,ct_hdr);
}
else
{
// urlencoded (slow?)
httpResponse = httpConnection.Post(url.getFile(),formData);