HttpProtocolConstants.HEADER_KEEP_ALIVE, "300");
hc.setRequestProperty(
HttpProtocolConstants.HEADER_CONNECTION, "keep-alive");
if (HttpConnection.POST == _method) {
os = hc.openDataOutputStream();
os.write(params.getBytes());
}
is = hc.openDataInputStream();
int responseCode = hc.getResponseCode();