MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / _lock_target

Function _lock_target

Scripts/ButSystem.py:1754–1759  ·  view source on GitHub ↗
(scope: str, target)

Source from the content-addressed store, hash-verified

1752
1753Args:
1754 resp: Parameter.
1755
1756Returns:
1757 Varies.
1758"""
1759 # Keep headers compatible with Termux-local HTTP, while improving safety on HTTPS.
1760 try:
1761 _ensure_device_fp_cookie(resp)
1762 except Exception:

Callers 6

_lock_session_keyFunction · 0.70
_chat_lock_existsFunction · 0.70
_chat_lock_setFunction · 0.70
_chat_lock_removeFunction · 0.70
_locked_json_or_redirectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected