Skip to content

Commit 49358f5

Browse files
cmackenzie1gbrgr
authored andcommitted
fix(rest): Filter sensitive headers from error logs (apache#2117) (apache#2130)
1 parent 37ac2c2 commit 49358f5

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

crates/catalog/rest/src/client.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,11 @@ impl HttpClient {
346346
pub(crate) fn disable_header_redaction(&self) -> bool {
347347
self.disable_header_redaction
348348
}
349+
350+
/// Returns whether header redaction is disabled for this client.
351+
pub(crate) fn disable_header_redaction(&self) -> bool {
352+
self.disable_header_redaction
353+
}
349354
}
350355

351356
/// Deserializes a catalog response into the given [`DeserializedOwned`] type.

0 commit comments

Comments
 (0)