if (method.equals(POST)) {
httpMethod = new PostMethod(urlStr);
} else {
httpMethod = new GetMethod(urlStr);
// httpMethod;
new DefaultMethodRetryHandler();
}
httpMethod.setHttp11(!JMeterUtils.getPropDefault("httpclient.version", "1.1").equals("1.0"));
// Set the timeout (if non-zero)