2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-28 11:57:37 +00:00
Jarrod Johnson 3d1e398977 Convert wsgi function to be generator
Since wsgi function returns iterable, it turns out to be easy to do it this way.

For now, hardcode json dumps, two things:
1: call out to module supporting HTML and JSON interpretation
2: in both cases, a header and footer must sandwich the responses in http

In socketapi, responses will come back without a container, but http
does not afford us such luxury.  Create a containing json structure.
On first iteration, do not prepend with ,.  prepend with , all other times.
2013-10-13 20:51:30 -04:00
2013-10-12 15:04:26 -04:00
Description
xCAT confluent - replacement of conserver and eventually xcatd
Pixar 18 MiB
Languages
Python 80.3%
Shell 15.6%
C 3.6%
Perl 0.3%