Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
29
def
_wsgi_decoding_dance(s: str) -> str:
30
return
s.encode(
"latin1"
).decode(errors=
"replace"
)
31
32
33
def
_wsgi_encoding_dance(s: str) -> str:
Callers
3
from_environ
Method · 0.85
__init__
Method · 0.85
_get_wsgi_string
Method · 0.85
Calls
no outgoing calls
Tested by
1
from_environ
Method · 0.68