testing: http read_request corner case

This commit is contained in:
Aldo Cortesi 2015-04-30 08:41:13 +12:00
parent 18df329930
commit b7a2fc8553

View File

@ -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")