Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.http.headers Namespace Reference

Functions

None setup_headers (Application app, bool use_x_frame_options)
 

Detailed Description

Middleware that helps with the control of headers in our responses.

Function Documentation

◆ setup_headers()

None homeassistant.components.http.headers.setup_headers ( Application  app,
bool  use_x_frame_options 
)
Create headers middleware for the app.

Definition at line 14 of file headers.py.