MCPcopy
hub / github.com/continuedev/continue / getReqOptionsNoProxyPatterns

Function getReqOptionsNoProxyPatterns

packages/fetch/src/util.ts:44–51  ·  view source on GitHub ↗
(
  options: RequestOptions | undefined,
)

Source from the content-addressed store, hash-verified

42}
43
44export function getReqOptionsNoProxyPatterns(
45 options: RequestOptions | undefined,
46): string[] {
47 return (
48 options?.noProxy?.map((i) => i.trim().toLowerCase()).filter((i) => !!i) ??
49 []
50 );
51}
52
53export function patternMatchesHostname(hostname: string, pattern: string) {
54 // Split hostname and pattern to separate hostname and port

Callers 1

shouldBypassProxyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected