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

Method query

mitmproxy/http.py:852–858  ·  view source on GitHub ↗

The request query as a mutable mapping view on the request's path. For the most part, this behaves like a dictionary. Modifications to the MultiDictView update `Request.path`, and vice versa.

(self)

Source from the content-addressed store, hash-verified

850
851 @property
852 def query(self) -> multidict.MultiDictView[str, str]:
853 """
854 The request query as a mutable mapping view on the request's path.
855 For the most part, this behaves like a dictionary.
856 Modifications to the MultiDictView update `Request.path`, and vice versa.
857 """
858 return multidict.MultiDictView(self._get_query, self._set_query)
859
860 @query.setter
861 def query(self, value):

Callers

nothing calls this directly

Calls 1

_set_queryMethod · 0.95

Tested by

no test coverage detected