MCPcopy Create free account
hub / github.com/oboard/claude-code-rev / getWebFetchUserAgent

Function getWebFetchUserAgent

src/utils/http.ts:68–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66// operators match in robots.txt); the claude-code suffix lets them distinguish
67// local CLI traffic from claude.ai server-side fetches.
68export function getWebFetchUserAgent(): string {
69 return `Claude-User (${getClaudeCodeUserAgent()}; +https://support.anthropic.com/)`
70}
71
72export type AuthHeaders = {
73 headers: Record<string, string>

Callers 1

Calls 1

getClaudeCodeUserAgentFunction · 0.85

Tested by

no test coverage detected