wsgidav.compat.wsgi_to_bytes

wsgidav.compat.wsgi_to_bytes(s)[source]

Convert a native string to a WSGI / HTTP compatible byte string.