werkzeug.EnvironHeaders.to_wsgi_list

EnvironHeaders.to_wsgi_list()

Convert the headers into a list suitable for WSGI.

The values are byte strings in Python 2 converted to latin1 and unicode strings in Python 3 for the WSGI server to encode.

Returns:list