[Web-SIG] WSGI and start_response
manlio_perillo at libero.it
Thu Apr 8 16:59:34 CEST 2010
Aaron Watters ha scritto:
> someone remind me: where is the canonical WSGI 2 spec?
> I assume there is a way to "wrap" WSGI 1 applications
> without breaking them? Or is this the regex-->re fiasco
> all over again?
start_response can be implemented by a function that will store the
status code and response headers.
There should be a sample WSGI 2.0 implementation for CGI, and a sample
WSGI 1.0 -> 2.0 adapter.
This adapter should be able to support the coroutine example,
but I would like to test.
write callable, as far as I know, can not be implemented.
More information about the Web-SIG