MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / meta

Function meta

test/mitmproxy/contentviews/test__view_zip.py:9–15  ·  view source on GitHub ↗
(content_type: str)

Source from the content-addressed store, hash-verified

7
8
9def meta(content_type: str) -> Metadata:
10 return Metadata(
11 content_type=content_type.split(";")[0],
12 http_message=http.Request.make(
13 "POST", "https://example.com/", headers={"content-type": content_type}
14 ),
15 )
16
17
18def test_view_zip():

Callers 2

test_view_zipFunction · 0.70
test_view_zip_emptyFunction · 0.70

Calls 3

MetadataClass · 0.90
splitMethod · 0.45
makeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…