MCPcopy 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
80let xsrf = () => {
81 const cached = getCookie("_mitmproxy_xsrf");
82 xsrf = () => cached;
83 return xsrf();
84};
85
86export function fetchApi(
87 url: string,

Callers 1

fetchApiFunction · 0.85

Calls 1

getCookieFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…