File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
sdk/clientcore/core/src/main/java/io/clientcore/core/http/pipeline Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1818
1919import java .io .IOException ;
2020import java .net .URI ;
21+ import java .util .Collections ;
22+ import java .util .List ;
2123import java .util .Locale ;
2224import java .util .Map ;
2325import java .util .Set ;
3234 */
3335public class HttpLoggingPolicy implements HttpPipelinePolicy {
3436 private static final HttpLogOptions DEFAULT_HTTP_LOG_OPTIONS = new HttpLogOptions ();
35- private static final Set <HttpHeaderName > ALWAYS_ALLOWED_HEADERS = Set . of (TRACEPARENT );
37+ private static final List <HttpHeaderName > ALWAYS_ALLOWED_HEADERS = Collections . singletonList (TRACEPARENT );
3638 private static final int MAX_BODY_LOG_SIZE = 1024 * 16 ;
3739 private static final String REDACTED_PLACEHOLDER = "REDACTED" ;
3840 private static final ClientLogger LOGGER = new ClientLogger (HttpLoggingPolicy .class );
You can’t perform that action at this time.
0 commit comments