Commit 2edd1dc
authored
[core] allow logging of Accept-Encoding (Azure#15290)
Looking at the MDN doc about Accept-Encoding, it doesn't container sensitive
information.
"The Accept-Encoding request HTTP header advertises which content encoding, usually a compression algorithm, the client is able to understand."
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding
This PR adds it to the allowed header name list so its value is not sanitized in
logging.1 parent 4bd3842 commit 2edd1dc
File tree
2 files changed
+2
-0
lines changed- sdk/core
- core-http/src/util
- core-rest-pipeline/src/util
2 files changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
0 commit comments