FAILURE MAP
← Case archive

FA-6956 / Proxy forwarding / Open access

Connection nominated fields are removed case insensitively · case 01

Connection nominated fields are removed case insensitively.

Verified by executionVariant 1 · 4 checks per implementationDownload source bundle ↓JSON ↗

ROOT CAUSE

The faulty implementation uses `{k:v for k,v in headers.items() if k.lower() != "connection"}` for the connection-nominated-fields-are-removed-case-insensitively decision.

THE FAILURE

The faulty implementation uses `{k:v for k,v in headers.items() if k.lower() != "connection"}` for the connection-nominated-fields-are-removed-case-insensitively decision.

Unsuccessful approach: The attempted repair uses `{k:v for k,v in headers.items() if k not in tokens}` and still violates a separate fixture.

Case contract

Bounded offline decision model: connection nominated fields are removed case insensitively. Inputs are already validated protocol fields; the explicit fixtures define the supported policy, not a complete protocol implementation.

Why this case matters

This deterministic proxy forwarding model isolates the connection-nominated-fields-are-removed-case-insensitively policy at a network component boundary.

1 / The failure

Exit 1
"""Failure Map reference implementation. Python standard library only."""
import json
import ipaddress
import re
from urllib.parse import urlsplit, urljoin
N = 1
observations = []
def solve(headers, tokens):
    return {k:v for k,v in headers.items() if k.lower() != "connection"}
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
_fixtures = ["check('fixture 1', solve({'Connection': 'X', 'X': 'v', 'End': 'e'}, ['x']), {'End': 'e'})", "check('fixture 2', solve({}, []), {})", "check('fixture 3', solve({'end': 'e'}, []), {'end': 'e'})", "check('fixture 4', solve({'x': 'v'}, ['X']), {})"]
for _line in _fixtures[N % len(_fixtures):] + _fixtures[:N % len(_fixtures)]:
    exec(_line)
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
Boundary fixtureActualExpectedOutcome
fixture 2{}{}Passed
fixture 3{'end': 'e'}{'end': 'e'}Passed
fixture 4{'x': 'v'}{}Failed
fixture 1{'End': 'e', 'X': 'v'}{'End': 'e'}Failed

SHA-256 / f9d48f58f4e049318ac08d216cc976a16c80a24a134c961357047f64d602048a

2 / The unsuccessful fix

Exit 1
"""Failure Map reference implementation. Python standard library only."""
import json
import ipaddress
import re
from urllib.parse import urlsplit, urljoin
N = 1
observations = []
def solve(headers, tokens):
    return {k:v for k,v in headers.items() if k not in tokens}
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
_fixtures = ["check('fixture 1', solve({'Connection': 'X', 'X': 'v', 'End': 'e'}, ['x']), {'End': 'e'})", "check('fixture 2', solve({}, []), {})", "check('fixture 3', solve({'end': 'e'}, []), {'end': 'e'})", "check('fixture 4', solve({'x': 'v'}, ['X']), {})"]
for _line in _fixtures[N % len(_fixtures):] + _fixtures[:N % len(_fixtures)]:
    exec(_line)
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
Boundary fixtureActualExpectedOutcome
fixture 2{}{}Passed
fixture 3{'end': 'e'}{'end': 'e'}Passed
fixture 4{'x': 'v'}{}Failed
fixture 1{'Connection': 'X', 'End': 'e', 'X': 'v'}{'End': 'e'}Failed

SHA-256 / 2ba5530d45b7ac26fbc2135e6fe065a739ed028bf9d85ac83758539453ae2894

HELD IN THE MEMBER ARCHIVE

The verified repair and its recorded checks are member-only.

This mechanism has 4 recorded checks per implementation. The open-access tier publishes the failure and the unsuccessful fix; the repaired source that passes every check, and the observations that prove it, are available to members.

Every case sharing this mechanism uses the same contract and the same repair, so this one record is held back for all of them.

Member access is invitation-based. Sign in with your invited account to inspect the repair.

Sign in to the archive ↗

Verification & scope

Bounded deterministic policy model over validated inputs; not a complete protocol stack or an interoperability claim. The five variants rotate the same explicit fixture set. This reproducer isolates one failure mechanism. Results cover the supplied fixtures. Variants within a family share a test contract and should remain grouped when constructing evaluation splits. Related mechanisms with a shared evaluation_group must also remain together; these controlled models are not independent production incidents.

Observations recorded using Python 3.12.14 at 2026-09-29T14:38:07.131720+00:00.

Case digest / 623232b64260b1a9dd9ce5a25c2e37e617e549d3aebcaacffa71f64ea80941c5