(value: Any)
| 63 | |
| 64 | |
| 65 | def _normalize_same_site(value: Any) -> Optional[str]: |
| 66 | raw = str(value or "").strip().lower() |
| 67 | if raw == "strict": |
| 68 | return "Strict" |
| 69 | if raw == "none": |
| 70 | return "None" |
| 71 | if raw == "lax": |
| 72 | return "Lax" |
| 73 | return None |
| 74 | |
| 75 | |
| 76 | def _build_cookie_from_mapping(raw_cookie: Dict[str, Any], default_url: str) -> Optional[Dict[str, Any]]: |
no outgoing calls
no test coverage detected