Skip to content

Commit 0b52a50

Browse files
committed
Don’t specify content length when pulling images
Fixes: SeleniumHQ#11342
1 parent 3584dad commit 0b52a50

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

java/src/org/openqa/selenium/docker/v1_41/PullImage.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ public void apply(Reference ref) {
5151
String image = String.format("%s/%s", ref.getDomain(), ref.getName());
5252
HttpRequest req = new HttpRequest(POST, String.format("/v%s/images/create", DOCKER_API_VERSION))
5353
.addHeader("Content-Type", JSON_UTF_8)
54-
.addHeader("Content-Length", "0")
5554
.addQueryParameter("fromImage", image);
5655

5756
if (ref.getDigest() != null) {

0 commit comments

Comments
 (0)