(self)
| 27 | ] |
| 28 | |
| 29 | def test_single_value(self): |
| 30 | h = Headers() |
| 31 | h["Content-Type"] = "text/html" |
| 32 | assert h["Content-Type"] == b"text/html" |
| 33 | assert h.get("Content-Type") == b"text/html" |
| 34 | assert h.getlist("Content-Type") == [b"text/html"] |
| 35 | |
| 36 | def test_multivalue(self): |
| 37 | h = Headers() |