MCPcopy Index your code
hub / github.com/zappa/Zappa / get_wsgi_string

Function get_wsgi_string

zappa/wsgi.py:200–204  ·  view source on GitHub ↗

Returns wsgi-compatible string

(string, encoding="utf-8")

Source from the content-addressed store, hash-verified

198
199# Related: https://github.com/Miserlou/Zappa/issues/1199
200def get_wsgi_string(string, encoding="utf-8"):
201 """
202 Returns wsgi-compatible string
203 """
204 return string.encode(encoding).decode("iso-8859-1")

Callers 1

create_wsgi_requestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected