diff --git a/apis/atmos/src/main/java/org/jclouds/atmos/filters/SignRequest.java b/apis/atmos/src/main/java/org/jclouds/atmos/filters/SignRequest.java index 8caff86cc0..d57595a156 100644 --- a/apis/atmos/src/main/java/org/jclouds/atmos/filters/SignRequest.java +++ b/apis/atmos/src/main/java/org/jclouds/atmos/filters/SignRequest.java @@ -171,8 +171,7 @@ public class SignRequest implements HttpRequestFilter { void appendHttpHeaders(HttpRequest request, StringBuilder toSign) { // Only the value is used, not the header // name. If a request does not include the header, this is an empty string. - for (String header : new String[] { "Range" }) - toSign.append(HttpUtils.nullToEmpty(request.getHeaders().get(header)).toLowerCase()).append("\n"); + toSign.append(HttpUtils.nullToEmpty(request.getHeaders().get("Range")).toLowerCase()).append("\n"); // Standard HTTP header, in UTC format. Only the date value is used, not the header name. toSign.append(request.getFirstHeaderOrNull(HttpHeaders.DATE)).append("\n"); }