Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pallets/werkzeug
/ _wsgi_encoding_dance
Function
_wsgi_encoding_dance
src/werkzeug/_internal.py:33–34 ·
view source on GitHub ↗
(s: str)
Source
from the content-addressed store, hash-verified
31
32
33
def
_wsgi_encoding_dance(s: str) -> str:
34
return
s.encode().decode(
"latin1"
)
35
36
37
def
_get_environ(obj: WSGIEnvironment | Request) -> WSGIEnvironment:
Callers
4
test_cookie_unicode_keys
Method · 0.90
_path_encode
Method · 0.85
get_environ
Method · 0.85
make_environ
Method · 0.85
Calls
no outgoing calls
Tested by
3
test_cookie_unicode_keys
Method · 0.72
_path_encode
Method · 0.68
get_environ
Method · 0.68