diff --git a/src/Docker.DotNet/DockerClient.cs b/src/Docker.DotNet/DockerClient.cs index eca99747d..b5b466724 100644 --- a/src/Docker.DotNet/DockerClient.cs +++ b/src/Docker.DotNet/DockerClient.cs @@ -424,7 +424,7 @@ internal HttpRequestMessage PrepareRequest(HttpMethod method, string path, IQuer var request = new HttpRequestMessage(method, HttpUtility.BuildUri(_endpointBaseUri, this._requestedApiVersion, path, queryString)); - request.Version = new Version(1, 11); + request.Version = new Version(1, 1); request.Headers.Add("User-Agent", UserAgent); diff --git a/src/Docker.DotNet/Microsoft.Net.Http.Client/ManagedHandler.cs b/src/Docker.DotNet/Microsoft.Net.Http.Client/ManagedHandler.cs index 9ab0b1b2e..48d2d2825 100644 --- a/src/Docker.DotNet/Microsoft.Net.Http.Client/ManagedHandler.cs +++ b/src/Docker.DotNet/Microsoft.Net.Http.Client/ManagedHandler.cs @@ -366,7 +366,7 @@ private async Task TunnelThroughProxyAsync(HttpRequestMessage request, Stream tr // CONNECT server.example.com:80 HTTP / 1.1 // Host: server.example.com:80 var connectRequest = new HttpRequestMessage(); - connectRequest.Version = new Version(1, 11); + connectRequest.Version = new Version(1, 1); connectRequest.Headers.ProxyAuthorization = request.Headers.ProxyAuthorization; connectRequest.Method = new HttpMethod("CONNECT");