mirror of
https://github.com/xcat2/confluent.git
synced 2025-02-17 02:58:51 +00:00
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.
Description
Languages
Python
80.3%
Shell
15.6%
C
3.6%
Perl
0.3%