prefect.server.utilities.http

Functions

should_redact_header

should_redact_header(key: str) -> bool

Indicates whether an HTTP header is sensitive or noisy and should be redacted from events and templates.