Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tests/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/'):
Expand Down
2 changes: 1 addition & 1 deletion vendor/http-parser
Submodule http-parser updated 4 files
+5 −5 Makefile
+100 −33 http_parser.c
+8 −4 http_parser.h
+89 −4 test.c
2 changes: 1 addition & 1 deletion vendor/llhttp
Submodule llhttp updated 5 files
+53 −0 CMakeLists.txt
+15 −0 README.md
+131 −6 include/llhttp.h
+112 −18 src/api.c
+649 −422 src/llhttp.c