MCPcopy Create free account
hub / github.com/TheSmallHanCat/flow2api / _set_request_fingerprint

Method _set_request_fingerprint

src/services/flow_client.py:103–105  ·  view source on GitHub ↗

设置当前请求链路的浏览器指纹上下文。

(self, fingerprint: Optional[Dict[str, Any]])

Source from the content-addressed store, hash-verified

101 return user_agent
102
103 def _set_request_fingerprint(self, fingerprint: Optional[Dict[str, Any]]):
104 """设置当前请求链路的浏览器指纹上下文。"""
105 self._request_fingerprint_ctx.set(dict(fingerprint) if fingerprint else None)
106
107 def get_request_fingerprint(self) -> Optional[Dict[str, Any]]:
108 """获取当前请求链路绑定的浏览器指纹快照。"""

Callers 7

upload_imageMethod · 0.95
_get_recaptcha_tokenMethod · 0.95
_flow_call_for_tokenMethod · 0.80

Calls 1

setMethod · 0.80

Tested by

no test coverage detected