From 397ececc619ca1fa84677f7f12b2b6c232400d06 Mon Sep 17 00:00:00 2001 From: Krishnan Mahadevan Date: Sat, 3 Dec 2022 14:32:29 +0530 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20specify=20content=20length=20wh?= =?UTF-8?q?en=20pulling=20images=20(#11343)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: #11342 [skip ci] --- java/src/org/openqa/selenium/docker/v1_41/PullImage.java | 1 - 1 file changed, 1 deletion(-) diff --git a/java/src/org/openqa/selenium/docker/v1_41/PullImage.java b/java/src/org/openqa/selenium/docker/v1_41/PullImage.java index ef1d81e7eaa50..337f5da968ee4 100644 --- a/java/src/org/openqa/selenium/docker/v1_41/PullImage.java +++ b/java/src/org/openqa/selenium/docker/v1_41/PullImage.java @@ -51,7 +51,6 @@ public void apply(Reference ref) { String image = String.format("%s/%s", ref.getDomain(), ref.getName()); HttpRequest req = new HttpRequest(POST, String.format("/v%s/images/create", DOCKER_API_VERSION)) .addHeader("Content-Type", JSON_UTF_8) - .addHeader("Content-Length", "0") .addQueryParameter("fromImage", image); if (ref.getDigest() != null) {