Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aio-libs/aiohttp
/ handle
Function
handle
examples/server_simple.py:5–8 ·
view source on GitHub ↗
(request)
Source
from the content-addressed store, hash-verified
3
4
5
async
def
handle(request):
6
name = request.match_info.get(
"name"
,
"Anonymous"
)
7
text =
"Hello, "
+ name
8
return
web.Response(text=text)
9
10
11
async
def
wshandle(request):
Callers
nothing calls this directly
Calls
1
get
Method · 0.45
Tested by
no test coverage detected