MCPcopy
hub / github.com/encode/starlette / not_modified

Function not_modified

tests/test_exceptions.py:29–30  ·  view source on GitHub ↗
(request: Request)

Source from the content-addressed store, hash-verified

27
28
29def not_modified(request: Request) -> None:
30 raise HTTPException(status_code=304)
31
32
33def with_headers(request: Request) -> None:

Callers

nothing calls this directly

Calls 1

HTTPExceptionClass · 0.90

Tested by

no test coverage detected