How do you set the protocol version on a CloseableHttpClient object or HttpPost object with http client 4.3 now that setParams and getParams are deprecated?
HttpPost post = new HttpPost("/");
post.setProtocolVersion(HttpVersion.HTTP_1_1);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With