---
title: http
sidebarTitle: http
---

# `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.

