mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
testing: http read_request corner case
This commit is contained in:
parent
18df329930
commit
b7a2fc8553
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user