spectator-ext-ipc/src/main/java/com/netflix/spectator/ipc/http/HttpResponse.java [137:146]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  private HttpResponse gunzip() throws IOException {
    Map<String, List<String>> newHeaders = headers.entrySet().stream()
        .filter(e -> !"Content-Encoding".equalsIgnoreCase(e.getKey()))
        .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));
    if (data.length == 0) {
      return new HttpResponse(status, newHeaders);
    } else {
      return new HttpResponse(status, newHeaders, HttpUtils.gunzip(data));
    }
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



spectator-ext-sandbox/src/main/java/com/netflix/spectator/sandbox/HttpResponse.java [110:119]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  private HttpResponse unzip() throws IOException {
    Map<String, List<String>> newHeaders = headers.entrySet().stream()
        .filter(e -> !"Content-Encoding".equalsIgnoreCase(e.getKey()))
        .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));
    if (data.length == 0) {
      return new HttpResponse(status, newHeaders);
    } else {
      return new HttpResponse(status, newHeaders, HttpUtils.gunzip(data));
    }
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



