[Web-SIG] WSGI type tolerance

Robert Brewer fumanchu at amor.org
Fri Sep 8 09:33:24 CEST 2006


See http://www.cherrypy.org/ticket/561. Apparently, "several WSGI apps" return an int for the Content-Length header. PEP 333 leaves just enough unsaid that someone might determine that's OK. But wsgiref and paste.lint certainly seem to think header values must be strings. Can we tighten up the language in the PEP on this point (or just agree on an interpretation here, so it's documented)?


Robert Brewer
System Architect
Amor Ministries
fumanchu at amor.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/web-sig/attachments/20060908/a76b9b86/attachment.htm 


More information about the Web-SIG mailing list