Back to Prefect

http

docs/v3/api-ref/python/prefect-server-utilities-http.mdx

3.6.30.dev3422 B
Original Source

prefect.server.utilities.http

Functions

should_redact_header <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/utilities/http.py#L1" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

python
should_redact_header(key: str) -> bool

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