设置当前请求链路的浏览器指纹上下文。
(self, fingerprint: Optional[Dict[str, Any]])
| 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 | """获取当前请求链路绑定的浏览器指纹快照。""" |
no test coverage detected