Skip to content

Commit

Permalink
removed json header
Browse files Browse the repository at this point in the history
  • Loading branch information
ry99 committed Apr 2, 2020
1 parent 5a6b1cc commit a6d3667
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/java/com/amihaiemil/docker/RtContainer.java
Expand Up @@ -32,7 +32,6 @@
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpDelete;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.message.BasicHeader;

/**
* Restful Container.
Expand Down Expand Up @@ -242,8 +241,6 @@ public int waitOn(final String state) throws IOException {
}

final HttpPost waiter = new HttpPost(urib.build());
waiter.setHeader(new BasicHeader("Content-Type", "application/json"));

try {
final JsonObject json = this.client.execute(
waiter,
Expand Down

0 comments on commit a6d3667

Please sign in to comment.