The WSGI spec requires the response headers and sequence items to be, respectively, List of Tuples and Strings.
However only for the response headers it explicitly requires them to be a Python List, i.e type(response_headers) is ListType. What about the other objects? In the current implementation of WSGI for Nginx I always use Py[Type]_Check, and not Py[Type]_CheckExact. Thanks and regards Manlio Perillo _______________________________________________ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com