From b7a2fc85537dca60fb18d25965289d876bd3bd38 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Thu, 30 Apr 2015 08:41:13 +1200 Subject: [PATCH] testing: http read_request corner case --- test/test_http.py | 5 +++++ 1 file changed, 5 insertions(+) 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")