MCPcopy
hub / github.com/mitmproxy/mitmproxy / h1_requests

Function h1_requests

test/mitmproxy/proxy/layers/http/test_http_fuzz.py:119–123  ·  view source on GitHub ↗
(draw)

Source from the content-addressed store, hash-verified

117
118@composite
119def h1_requests(draw):
120 request = draw(request_lines) + b"\r\n"
121 request += b"\r\n".join(draw(headers))
122 request += b"\r\n\r\n" + draw(bodies)
123 return request
124
125
126@composite

Callers

nothing calls this directly

Calls 2

drawFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…