mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-26 11:30:23 +00:00
3d1e398977
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. |
||
---|---|---|
.. | ||
ipmi.py |