Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/trafficserver
/ observe
Function
observe
tests/gold_tests/pluginTest/compress/compress_observer.py:23–25 ·
view source on GitHub ↗
(headers)
Source
from the content-addressed store, hash-verified
21
22
23
def
observe(headers):
24
log.write(
"{}\n"
.format(headers[
'X-Ats-Compress-Test'
]))
25
log.flush()
26
27
28
Hooks.register(Hooks.ReadRequestHook, observe)
Callers
nothing calls this directly
Calls
3
write
Method · 0.45
format
Method · 0.45
flush
Method · 0.45
Tested by
no test coverage detected