{"record":{"id":"a14e95e8eb18ffe6","repo":"diegosouzapw/OmniRoute","slug":"unsupported-http-method-method","errorCode":null,"errorMessage":"Unsupported HTTP method: ${method}","messagePattern":"Unsupported HTTP method: (.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/lib/skills/builtins.ts","lineNumber":280,"sourceCode":"      headers: rawHeaders,\n      body,\n      timeoutMs,\n      maxBytes,\n    } = input as {\n      url: string;\n      method?: string;\n      headers?: Record<string, unknown>;\n      body?: unknown;\n      timeoutMs?: number;\n      maxBytes?: number;\n    };\n    if (!url || typeof url !== \"string\") {\n      throw new Error(\"Missing required field: url\");\n    }\n\n    const normalizedMethod = method.toUpperCase();\n    if (!ALLOWED_HTTP_METHODS.has(normalizedMethod)) {\n      throw new Error(`Unsupported HTTP method: ${method}`);\n    }\n\n    const headers = sanitizeHeaders(rawHeaders);\n    const response = await safeOutboundFetch(url, {\n      method: normalizedMethod,\n      headers,\n      body:\n        normalizedMethod === \"GET\" || normalizedMethod === \"HEAD\"\n          ? undefined\n          : normalizeBody(body, headers),\n      timeoutMs: normalizePositiveInteger(timeoutMs, 10_000, 60_000),\n      allowRedirect: false,\n      retry: false,\n      guard: \"public-only\",\n    });\n    const limit = normalizePositiveInteger(\n      maxBytes,\n      MAX_HTTP_RESPONSE_BYTES,","sourceCodeStart":262,"sourceCodeEnd":298,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/src/lib/skills/builtins.ts#L262-L298","documentation":"Error \"Unsupported HTTP method: ${method}\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at src/lib/skills/builtins.ts:280 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d","analyzedAt":"2026-08-25T18:35:09.898Z","schemaVersion":2},"datasetVersion":"2026-08-25T21:54:21.419Z"}