mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 10:16:27 +00:00
7835e0c2c7
Finally doing what I started writing pathod for in the first place...
13 lines
292 B
Python
13 lines
292 B
Python
import tservers
|
|
|
|
"""
|
|
A collection of errors turned up by fuzzing.
|
|
"""
|
|
|
|
class TestFuzzy(tservers.HTTPProxTest):
|
|
def test_idna_err(self):
|
|
req = r'get:"http://localhost:%s":i10,"\xc6"'
|
|
p = self.pathoc()
|
|
assert p.request(req%self.server.port).status_code == 400
|
|
|