diff options
Diffstat (limited to 'test/http/http1/test_read.py')
-rw-r--r-- | test/http/http1/test_read.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/http/http1/test_read.py b/test/http/http1/test_read.py index 45f61b4f..8a315508 100644 --- a/test/http/http1/test_read.py +++ b/test/http/http1/test_read.py @@ -297,6 +297,10 @@ class TestReadHeaders(object): with raises(HttpSyntaxException): self._read(data) + def test_read_empty_value(self): + data = b"bar:" + headers = self._read(data) + assert headers.fields == [[b"bar", b""]] def test_read_chunked(): req = treq(content=None) |