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

Method want_form_data_parsed

src/werkzeug/wrappers/request.py:234–240  ·  view source on GitHub ↗

``True`` if the request method carries content. By default this is true if a ``Content-Type`` is sent. .. versionadded:: 0.8

(self)

Source from the content-addressed store, hash-verified

232
233 @property
234 def want_form_data_parsed(self) -> bool:
235 """``True`` if the request method carries content. By default
236 this is true if a ``Content-Type`` is sent.
237
238 .. versionadded:: 0.8
239 """
240 return bool(self.environ.get("CONTENT_TYPE"))
241
242 def make_form_data_parser(self) -> FormDataParser:
243 """Creates the form data parser. Instantiates the

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected