Open TillJohanndeiter opened 4 years ago
Response headers
Date => Tue, 28 Apr 2020 03:19:37 GMT
Connection => keep-alive
Content-Length => 0
I tested this issue. the response Content-Length is 0.
no exceptions thrown in Java.
client: org.apache.http.impl.client.CloseableHttpClient
.
@joelcho Sry i used java.net.http.HttpClient;
If server return a newFixedLengthResponse with status code 204 then response contains a content length header. This provoke IOException on client side. I used HttpClient from .net package.
Example:
Server: