MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getWebFetchUserAgent

Function getWebFetchUserAgent

source code/utils/http.ts:58–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56// operators match in robots.txt); the claude-code suffix lets them distinguish
57// local CLI traffic from claude.ai server-side fetches.
58export function getWebFetchUserAgent(): string {
59 return `Claude-User (${getClaudeCodeUserAgent()}; +https://support.anthropic.com/)`
60}
61
62export type AuthHeaders = {
63 headers: Record<string, string>

Callers 1

Calls 1

getClaudeCodeUserAgentFunction · 0.85

Tested by

no test coverage detected