Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aio-libs/aiohttp
/ build
Function
build
tools/gen.py:33–40 ·
view source on GitHub ↗
(headers)
Source
from the content-addressed store, hash-verified
31
32
33
def
build(headers):
34
dct = defaultdict(factory)
35
for
hdr in headers:
36
d = dct
37
for
ch in hdr:
38
d = d[ch]
39
d[TERMINAL] = hdr
40
return
dct
41
42
43
dct = build(headers)
Callers
1
gen.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected