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

Method urlencoded_form

mitmproxy/http.py:950–961  ·  view source on GitHub ↗

The URL-encoded form data. If the content-type indicates non-form data or the form could not be parsed, this is set to an empty `MultiDictView`. Modifications to the MultiDictView update `Request.content`, and vice versa.

(self)

Source from the content-addressed store, hash-verified

948
949 @property
950 def urlencoded_form(self) -> multidict.MultiDictView[str, str]:
951 """
952 The URL-encoded form data.
953
954 If the content-type indicates non-form data or the form could not be parsed, this is set to
955 an empty `MultiDictView`.
956
957 Modifications to the MultiDictView update `Request.content`, and vice versa.
958 """
959 return multidict.MultiDictView(
960 self._get_urlencoded_form, self._set_urlencoded_form
961 )
962
963 @urlencoded_form.setter
964 def urlencoded_form(self, value):

Callers

nothing calls this directly

Calls 1

_set_urlencoded_formMethod · 0.95

Tested by

no test coverage detected