Skip to content

Commit

Permalink
multipart download
Browse files Browse the repository at this point in the history
  • Loading branch information
Komal Thareja committed Jul 24, 2019
1 parent a68258d commit 6f1ca32
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public Integer getImageDetails(String imageId) throws Exception {
String token = auth(region);
if (token != null) {
HttpHeaders headers = new HttpHeaders();
System.out.println("Setting token " + token);
logger.debug("Setting token " + token);
headers.set("X-Auth-Token", token);
headers.setContentType(MediaType.APPLICATION_JSON);
headers.setAccept(Collections.singletonList(MediaType.APPLICATION_JSON));
Expand Down Expand Up @@ -249,7 +249,7 @@ public ImageDetails getImage(String imageId, String range) throws Exception {
String token = auth(region);
if (token != null) {
HttpHeaders headers = new HttpHeaders();
System.out.println("Setting token " + token);
logger.debug("Setting token " + token);
headers.set("X-Auth-Token", token);
headers.setContentType(MediaType.APPLICATION_JSON);
headers.setAccept(Collections.singletonList(MediaType.APPLICATION_OCTET_STREAM));
Expand Down

0 comments on commit 6f1ca32

Please sign in to comment.