From 569d400bafc267ebe2abe7adda9069e5d3ad96c6 Mon Sep 17 00:00:00 2001 From: 0880 <98263509+0880880@users.noreply.github.com> Date: Sat, 17 Jan 2026 18:12:34 +0330 Subject: [PATCH] __contains__ method for Headers class --- slow/slow.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/slow/slow.py b/slow/slow.py index 6179782..5a53485 100644 --- a/slow/slow.py +++ b/slow/slow.py @@ -33,6 +33,9 @@ class Headers: def __str__(self): return str(self._d) + def __contains__(self, key): + return self._d.__contains__(key) + class Request: def __init__(self, method: str, path: str, headers: Headers, body: bytes):