--- a/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/Exchange.java Wed Jan 31 15:52:35 2018 +0000
+++ b/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/Exchange.java Wed Jan 31 16:18:41 2018 +0000
@@ -308,7 +308,8 @@
bodyIgnored = MinimalFuture.completedFuture(null);
Response proxyResponse = ((ProxyAuthenticationRequired)t).proxyResponse;
Response syntheticResponse = new Response(request, this,
- proxyResponse.headers, proxyResponse.statusCode, proxyResponse.version);
+ proxyResponse.headers, proxyResponse.statusCode,
+ proxyResponse.version, true);
return MinimalFuture.completedFuture(syntheticResponse);
} else if (t != null) {
return MinimalFuture.failedFuture(t);