5 lines
173 B
Python
5 lines
173 B
Python
from starlette.requests import Request
|
|
from starlette.responses import HTMLResponse
|
|
|
|
async def handle_home(request: Request):
|
|
return HTMLResponse('<h1>Hello World</h1>') |