Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mitmproxy/mitmproxy
/ xsrf
Function
xsrf
web/src/js/utils.ts:80–84 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
78
}
79
80
let
xsrf = () => {
81
const
cached = getCookie(
"_mitmproxy_xsrf"
);
82
xsrf = () => cached;
83
return
xsrf();
84
};
85
86
export
function
fetchApi(
87
url: string,
Callers
1
fetchApi
Function · 0.85
Calls
1
getCookie
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…