[Web-SIG] about Py[Type]_Check in a WSGI implementation
manlio_perillo at libero.it
Fri Oct 19 20:55:32 CEST 2007
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
More information about the Web-SIG