MCPcopy Create free account
hub / github.com/su-kaka/gcli2api / _batch_graphql_headers

Function _batch_graphql_headers

src/api/vertex.py:135–148  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133
134
135def _batch_graphql_headers() -> Dict[str, str]:
136 h = _xhr_headers(
137 "application/json",
138 "*/*",
139 "https://console.cloud.google.com",
140 "https://console.cloud.google.com/",
141 "cross-site",
142 )
143 h["x-goog-authuser"] = "0"
144 h["x-browser-channel"] = "stable"
145 h["x-browser-copyright"] = "Copyright 2026 Google LLC. All Rights Reserved."
146 h["x-browser-year"] = "2026"
147 h["x-goog-ext-353267353-jspb"] = "[null,null,null,194274]"
148 return h
149
150
151# ==================== reCAPTCHA ====================

Callers 2

stream_requestFunction · 0.85
non_stream_requestFunction · 0.85

Calls 1

_xhr_headersFunction · 0.85

Tested by

no test coverage detected