Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/encode/starlette
/ homepage
Function
homepage
tests/test_routing.py:25–26 ·
view source on GitHub ↗
(request: Request)
Source
from the content-addressed store, hash-verified
23
24
25
def
homepage(request: Request) -> Response:
26
return
Response(
"Hello, world"
, media_type=
"text/plain"
)
27
28
29
def
users(request: Request) -> Response:
Callers
nothing calls this directly
Calls
3
Response
Class · 0.90
JSONResponse
Class · 0.90
url_for
Method · 0.45
Tested by
no test coverage detected