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

Classes

class  CachingStaticResource
 

Variables

 _GUESSER = CONTENT_TYPES.guess_file_type
 
string CACHE_HEADER = f"public, max-age={CACHE_TIME}"
 
 Final
 

Detailed Description

Static file handling for HTTP component.

Variable Documentation

◆ _GUESSER

homeassistant.components.http.static._GUESSER = CONTENT_TYPES.guess_file_type
private

Definition at line 26 of file static.py.

◆ CACHE_HEADER

string homeassistant.components.http.static.CACHE_HEADER = f"public, max-age={CACHE_TIME}"

Definition at line 17 of file static.py.

◆ Final

homeassistant.components.http.static.Final

Definition at line 16 of file static.py.