File tree Expand file tree Collapse file tree 4 files changed +7
-0
lines changed
azure/core/pipeline/policies Expand file tree Collapse file tree 4 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 138138 " conda/conda-releaselogs/azure-mgmt.md"
139139 ],
140140 "words" : [
141+ " msedge" ,
141142 " spinup" ,
142143 " cibuildwheel" ,
143144 " aoai" ,
Original file line number Diff line number Diff line change 1010
1111### Other Changes
1212
13+ - Log "x-vss-e2eid" and "x-msedge-ref" headers in ` HttpLoggingPolicy ` .
14+
1315## 1.31.0 (2024-09-12)
1416
1517### Features Added
Original file line number Diff line number Diff line change @@ -417,6 +417,8 @@ class HttpLoggingPolicy(
417417 "Transfer-Encoding" ,
418418 "User-Agent" ,
419419 "WWW-Authenticate" , # OAuth Challenge header.
420+ "x-vss-e2eid" , # Needed by Azure DevOps pipelines.
421+ "x-msedge-ref" , # Needed by Azure DevOps pipelines.
420422 ]
421423 )
422424 REDACTED_PLACEHOLDER : str = "REDACTED"
Original file line number Diff line number Diff line change @@ -70,6 +70,8 @@ def test_default_http_logging_policy(http_request):
7070 assert http_logging_policy .allowed_header_names == HttpLoggingPolicy .DEFAULT_HEADERS_WHITELIST
7171 assert http_logging_policy .allowed_header_names == HttpLoggingPolicy .DEFAULT_HEADERS_ALLOWLIST
7272 assert "WWW-Authenticate" in http_logging_policy .allowed_header_names
73+ assert "x-vss-e2eid" in http_logging_policy .allowed_header_names
74+ assert "x-msedge-ref" in http_logging_policy .allowed_header_names
7375 # Testing I can replace the set entirely
7476 HttpLoggingPolicy .DEFAULT_HEADERS_ALLOWLIST = set (HttpLoggingPolicy .DEFAULT_HEADERS_ALLOWLIST )
7577 HttpLoggingPolicy .DEFAULT_HEADERS_WHITELIST = set (HttpLoggingPolicy .DEFAULT_HEADERS_ALLOWLIST )
You can’t perform that action at this time.
0 commit comments