Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/trafficserver
/ observe
Function
observe
tests/gold_tests/pluginTest/sslheaders/observer.py:23–30 ·
view source on GitHub ↗
(headers)
Source
from the content-addressed store, hash-verified
21
22
23
def
observe(headers):
24
25
for
h in headers.items():
26
if
h[0].lower().startswith(
'ssl-'
):
27
28
log.write(h[0] +
": "
+ h[1] +
"\n"
)
29
log.write(
"-\n"
)
30
log.flush()
31
32
33
Hooks.register(Hooks.ReadRequestHook, observe)
Callers
nothing calls this directly
Calls
3
items
Method · 0.80
write
Method · 0.45
flush
Method · 0.45
Tested by
no test coverage detected