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

Method test_urlencoded_silent_decode

tests/test_formparser.py:132–138  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

130 assert r.form["b"] == "2"
131
132 def test_urlencoded_silent_decode(self) -> None:
133 r = Request.from_values(
134 data=b"\x80",
135 content_type="application/x-www-form-urlencoded",
136 method="POST",
137 )
138 assert not r.form
139
140 def test_missing_multipart_boundary(self):
141 data = (

Callers

nothing calls this directly

Calls 1

from_valuesMethod · 0.80

Tested by

no test coverage detected