Richard Jones' Log: Roundup gets a WSGI interface
As an exercise for myself I've WSGI'fied the web interface for Roundup in the latest release.
It required some changes to the way the web interface works. Up until WSGI it was sending responses by first sending an HTTP response code and then sending some HTTP headers (sometimes headers were sent in various places) until finally the headers were finished and then the body was written.
WSGI requires that you have your response code and headers all figured out when you call start_response. This wasn't a terribly big problem to solve - I did it all during two train trips ;)
So now Roundup has a BaseHTTPServer interface ("roundup-server"), a regular CGI interface, a mod_python interface, a Zope interface and now a WSGI interface which, given support code, can do all but the Zope interface and then some :)