python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Is there any way to get content-length without getting response body
I am using Apache HttpClient to download content from the server. I want to check the size before downloading content. I have used HTTPGet to download content and before processing the inputstream I a...
Salman
Votes: 0
Answers: 0
Root cause of java.net.ConnectException / java.net.SocketException
We’re using an apache CachingHttpClient with a PoolingHttpClientConnectionManager configured and all accessed via a Spring RestTemplate.
Most of our connectivity is from Azure -> on-prem service us...
Ant
Votes: 0
Answers: 0
How should we go about implementing AsyncResponseConsumer for HttpAsyncClient in Apache HTTPClient5 implementation?
The interface of HTTPAsyncClient has changed in HTTPClient5 implementation as following:
public interface HttpAsyncClient {
/**
* Initiates asynchronous HTTP request execution using the gi...
Srijan Srivastav
Votes: 0
Answers: 1
Apache HTTP Client SSL how acccept all certificates for testing purposes
I have a java cucumber test automation framework that I am using for testing apis.
Previously I was using a tool called Karate that has a simple flag ( karate.configure('ssl', { trustAll: true });) t...
Matt
Votes: 0
Answers: 2