MCPcopy Create free account
hub / github.com/VitoHowe/glm-coding / _resolve_profile

Method _resolve_profile

app/clients/fingerprint_http.py:162–167  ·  view source on GitHub ↗

Look up the BrowserProfile for a given impersonate string.

(self, browser_impersonate: str | None)

Source from the content-addressed store, hash-verified

160 "params": params,
161 "timeout": self.settings.request_timeout_seconds,
162 "allow_redirects": True,
163 "impersonate": (browser_impersonate or self.settings.browser_impersonate),
164 }
165 if json_body is not None:
166 kwargs["json"] = json_body
167 if form_body is not None:
168 kwargs["data"] = form_body
169 if proxy_url:
170 kwargs["proxies"] = {"http": proxy_url, "https": proxy_url}

Callers 1

_build_headersMethod · 0.95

Calls 1

Tested by

no test coverage detected