(self, d: HTTPHeaderDict)
| 220 | assert d.getlist("cookie") == ["with, comma"] |
| 221 | |
| 222 | def test_update(self, d: HTTPHeaderDict) -> None: |
| 223 | d.update(dict(Cookie="foo")) |
| 224 | assert d["cookie"] == "foo" |
| 225 | d.update(dict(cookie="with, comma")) |
| 226 | assert d.getlist("cookie") == ["with, comma"] |
| 227 | |
| 228 | def test_delitem(self, d: HTTPHeaderDict) -> None: |
| 229 | del d["cookie"] |