(match: re.Match[str])
| 1193 | seen: set[str] = set() |
| 1194 | |
| 1195 | for raw_item in str(proxy_server or "").split(";"): |
| 1196 | item = str(raw_item or "").strip() |
| 1197 | if not item: |
| 1198 | continue |
| 1199 | if "=" in item: |
| 1200 | _, item = item.split("=", 1) |
| 1201 | item = item.strip() |
| 1202 | if not item: |
| 1203 | continue |
| 1204 | normalized = item if re.match(r"^[a-z]+://", item, re.I) else f"http://{item}" |
| 1205 | lowered = normalized.lower() |
| 1206 | if lowered in seen: |
| 1207 | continue |
| 1208 | seen.add(lowered) |
nothing calls this directly
no outgoing calls
no test coverage detected