diff --git a/tests/test_parser.py b/tests/test_parser.py index f4136d6..8cce866 100644 --- a/tests/test_parser.py +++ b/tests/test_parser.py @@ -101,6 +101,9 @@ def test_parser_response_1(self): self.assertFalse(m.on_chunk_header.called) self.assertFalse(m.on_chunk_complete.called) + def test_parser_response_1b(self): + p = httptools.HttpResponseParser(None) + with self.assertRaisesRegex( httptools.HttpParserError, 'Expected HTTP/'): diff --git a/vendor/http-parser b/vendor/http-parser index 0d0a24e..2343fd6 160000 --- a/vendor/http-parser +++ b/vendor/http-parser @@ -1 +1 @@ -Subproject commit 0d0a24e19eb5ba232d2ea8859aba2a7cc6c42bc4 +Subproject commit 2343fd6b5214b2ded2cdcf76de2bf60903bb90cd diff --git a/vendor/llhttp b/vendor/llhttp index 3523423..4bfeb62 160000 --- a/vendor/llhttp +++ b/vendor/llhttp @@ -1 +1 @@ -Subproject commit 3523423483a61179f47cc7ff0da012fb6f81ec1b +Subproject commit 4bfeb625ce4961bd539c95593529936503be7db4