Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.http.static.CachingStaticResource Class Reference
Inheritance diagram for homeassistant.components.http.static.CachingStaticResource:
[legend]
Collaboration diagram for homeassistant.components.http.static.CachingStaticResource:
[legend]

Private Member Functions

StreamResponse _handle (self, Request request)
 

Detailed Description

Static Resource handler that will add cache headers.

Definition at line 31 of file static.py.

Member Function Documentation

◆ _handle()

StreamResponse homeassistant.components.http.static.CachingStaticResource._handle (   self,
Request  request 
)
private
Wrap base handler to cache file path resolution and content type guess.

Definition at line 34 of file static.py.


The documentation for this class was generated from the following file: