Skip to content

Commit dacb673

Browse files
authored
ignore Accept-Encoding during matching (#43370)
1 parent 185b1d6 commit dacb673

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/tools/azure-sdk-tools/devtools_testutils/proxy_startup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def set_common_sanitizers() -> None:
299299

300300
# Remove headers from recordings if we don't need them, and ignore them if present
301301
# Authorization, for example, can contain sensitive info and can cause matching failures during challenge auth
302-
headers_to_ignore = "Authorization, x-ms-client-request-id, x-ms-request-id"
302+
headers_to_ignore = "Authorization, x-ms-client-request-id, x-ms-request-id, Accept-Encoding"
303303
set_custom_default_matcher(excluded_headers=headers_to_ignore)
304304
batch_sanitizers[Sanitizer.REMOVE_HEADER] = [{"headers": headers_to_ignore}]
305305

0 commit comments

Comments
 (0)