diff --git a/test/test_http.py b/test/test_http.py index 962eb9cb0..f1a31b93a 100644 --- a/test/test_http.py +++ b/test/test_http.py @@ -440,6 +440,11 @@ class TestReadRequest(): self.tst, "get / HTTP/1.1\r\nfoo" ) + tutils.raises( + tcp.NetLibDisconnect, + self.tst, + "\r\n" + ) def test_asterisk_form_in(self): v = self.tst("OPTIONS * HTTP/1.1")