fix(python): merge request headers case-insensitively
Generated Python clients can merge content-type and Content-Type as different keys. For example, a JSON operation called with _headers={"content-type": "application/json"} adds a second Content-Type field; HTTPX then exposes application/json, application/json. Direct serialization can also mutate the supplied header dict.
This change applies one case-insensitive, request-local merging rule to the Python generator's urllib3, asyncio/aiohttp, httpx and httpx2 libraries, including HTTPX sync wrappers. Each transport uses its native case-insensitive header container internally, after SDK validation and serialization. Repeated default-header setter calls now replace case variants consistently.
Precedence is preserved for identically spelled names and extended to case variants: per-call headers → explicit OpenAPI headers/generated Content-Type (_content_type) → client defaults → client cookie → authentication. Accept remains a fallback. Later entries in a dict win; setters use the latest call. A non-empty _request_auth overrides configured auth; {} retains it.
Case-variant conflicts now produce one winning field instead of transmitting both. The public _headers validation and value serialization remain unchanged. Comma-separated values and repeated fields supplied directly to transports are preserved; this is not general duplicate-value removal. Full precedence details are documented in generated READMEs.
Validation: 98 Python generator Java tests; full Petstore suites across seven variants; Echo API and legacy-model suites; mypy and regression-test lint. Regressions cover conflicting casing/values, defaults, Authorization/API keys, preserved inputs, async/threaded concurrency, form/multipart routing and legitimate repeated values. The original urllib3/aiohttp transport failures were reproduced before testing the correction. Only samples generated by generatorName: python were regenerated; no other generators or dependency manifests changed. Global multi-language verification was not run.
Closes #25162. Related references: TS/JS #6571 (open), Go #24766 and compatibility follow-up #24791 (merged). The Go follow-up informed preserving existing Python precedence and defining a deterministic winner. These other generators' issues are not closed by this PR.
Contribution guidelines and code of conduct read. Python technical committee: @wing328.