Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/encode/starlette
/ __init__
Method
__init__
starlette/staticfiles.py:32–36 ·
view source on GitHub ↗
(self, headers: Headers)
Source
from the content-addressed store, hash-verified
30
)
31
32
def
__init__(self, headers: Headers):
33
super().__init__(
34
status_code=304,
35
headers={name: value
for
name, value in headers.items()
if
name in self.NOT_MODIFIED_HEADERS},
36
)
37
38
39
class
StaticFiles:
Callers
nothing calls this directly
Calls
2
__init__
Method · 0.45
items
Method · 0.45
Tested by
no test coverage detected