MCPcopy
hub / github.com/pallets/werkzeug / form

Method form

src/werkzeug/wrappers/request.py:430–446  ·  view source on GitHub ↗

The form parameters. By default an :class:`~werkzeug.datastructures.ImmutableMultiDict` is returned from this function. This can be changed by setting :attr:`parameter_storage_class` to a different type. This might be necessary if the order of the form data is impo

(self)

Source from the content-addressed store, hash-verified

428
429 @cached_property
430 def form(self) -> ImmutableMultiDict[str, str]:
431 """The form parameters. By default an
432 :class:`~werkzeug.datastructures.ImmutableMultiDict`
433 is returned from this function. This can be changed by setting
434 :attr:`parameter_storage_class` to a different type. This might
435 be necessary if the order of the form data is important.
436
437 Please keep in mind that file uploads will not end up here, but instead
438 in the :attr:`files` attribute.
439
440 .. versionchanged:: 0.9
441
442 Previous to Werkzeug 0.9 this would only contain form data for POST
443 and PUT requests.
444 """
445 self._load_form_data()
446 return self.form
447
448 @cached_property
449 def values(self) -> CombinedMultiDict[str, str]:

Callers

nothing calls this directly

Calls 1

_load_form_dataMethod · 0.95

Tested by

no test coverage detected