Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/benoitc/gunicorn
/ bytes_to_str
Function
bytes_to_str
gunicorn/util.py:687–690 ·
view source on GitHub ↗
(b)
Source
from the content-addressed store, hash-verified
685
686
687
def
bytes_to_str(b):
688
if
isinstance(b, str):
689
return
b
690
return
str(b,
'latin1'
)
691
692
693
def
unquote_to_wsgi_str(string):
Callers
4
parse_headers
Method · 0.90
_parse_fast
Method · 0.90
_parse_proxy_protocol_v1
Method · 0.90
parse_request_line
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected