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

Function _wsgi_decoding_dance

src/werkzeug/_internal.py:29–30  ·  view source on GitHub ↗
(s: str)

Source from the content-addressed store, hash-verified

27
28
29def _wsgi_decoding_dance(s: str) -> str:
30 return s.encode("latin1").decode(errors="replace")
31
32
33def _wsgi_encoding_dance(s: str) -> str:

Callers 3

from_environMethod · 0.85
__init__Method · 0.85
_get_wsgi_stringMethod · 0.85

Calls

no outgoing calls

Tested by 1

from_environMethod · 0.68