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

Function meta

test/mitmproxy/contentviews/test__view_multipart.py:8–14  ·  view source on GitHub ↗
(content_type: str)

Source from the content-addressed store, hash-verified

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

Callers 1

test_view_multipartFunction · 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…