Skip to main content

session_mint_request_headers

Function session_mint_request_headers 

Source
pub fn session_mint_request_headers() -> &'static [(&'static str, &'static str)]
Expand description

Headers attached only to the pinned session-mint request.

GitHub rejects API calls without a User-Agent. The Copilot internal mint endpoint additionally requires the conventional integration/editor headers (community-observed); missing them yields HTTP 403 after a successful device authorization.