{
  "id": "go/http-multiple-content-length",
  "signature": "http: invalid Content-Length",
  "signature_zh": "http：无效的Content-Length",
  "regex": "http:\\ invalid\\ Content\\-Length",
  "domain": "go",
  "category": "network_error",
  "subcategory": null,
  "root_cause": "The HTTP request or response contains multiple Content-Length headers with different values, causing Go's net/http to reject it as invalid.",
  "root_cause_type": "generic",
  "root_cause_zh": "HTTP请求或响应包含多个值不同的Content-Length头，导致Go的net/http拒绝该请求。",
  "versions": [
    {
      "version": "1.22",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "The body may be corrupted or incomplete, leading to data integrity issues.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Does not resolve the underlying inconsistency and may cause parsing errors.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.75,
      "how": "if req.Header.Get(\"Content-Length\") != \"\" {\n    // Validate and use a single value\n} else {\n    // Handle missing Content-Length\n}",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.8,
      "how": "Use a custom RoundTripper to sanitize headers before sending.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.85,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-05-20",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}