1 package com.griddynamics.jagger.invoker.scenario;
3 import org.springframework.http.HttpHeaders;
5 import java.util.LinkedList;
9 public static HttpHeaders
copyOf(HttpHeaders headers) {
12 HttpHeaders headersCopy =
new HttpHeaders();
13 headers.forEach((key, values) -> headersCopy.put(key,
new LinkedList<>(values)));