(self)
| 844 | assert list(headers) == ["Set-Cookie"] |
| 845 | |
| 846 | def test_insert(self): |
| 847 | headers = Headers(Accept="text/plain") |
| 848 | headers.insert(0, b"Host", "example.com") |
| 849 | assert headers.fields == ((b"Host", b"example.com"), (b"Accept", b"text/plain")) |
| 850 | |
| 851 | def test_items(self): |
| 852 | headers = Headers( |