Re: [Web-SIG] about Py[Type]_Check in a WSGI implementation

2007-10-19 Thread Manlio Perillo
Ian Bicking ha scritto: > Manlio Perillo wrote: >> 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 ListT

Re: [Web-SIG] about Py[Type]_Check in a WSGI implementation

2007-10-19 Thread Ian Bicking
Manlio Perillo wrote: > 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

[Web-SIG] about Py[Type]_Check in a WSGI implementation

2007-10-19 Thread Manlio Perillo
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 implementa

Re: [Web-SIG] about the status line in WSGI

2007-10-19 Thread Manlio Perillo
Robert Brewer ha scritto: > Manlio Perillo wrote: >> Is a WSGI gateway allowed to ignore the Reason-Phrase part of the >> status line returned by the WSGI application, and to use a server >> defined phrase? > > I would be sad if a WSGI gateway did that to me. > Why deny a web > application develo

Re: [Web-SIG] about the status line in WSGI

2007-10-19 Thread Robert Brewer
Manlio Perillo wrote: > Is a WSGI gateway allowed to ignore the Reason-Phrase part of the > status line returned by the WSGI application, and to use a server > defined phrase? I would be sad if a WSGI gateway did that to me. Why deny a web application developer the right to control that part of th

[Web-SIG] about the status line in WSGI

2007-10-19 Thread Manlio Perillo
Is a WSGI gateway allowed to ignore the Reason-Phrase part of the status line returned by the WSGI application, and to use a server defined phrase? Thanks and regards Manlio Perillo ___ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.pyth