Differences From Artifact [9a7f275cf7]:
- File src/main.c — part of check-in [576425e862] at 2011-09-21 17:38:36 on branch json — More work on the warnings infrastructure. json_warn() now (experimentally) disallows (elides) duplicate warning codes to simplify downstream loops. Still undecided on that behaviour, though. (user: stephan size: 49748)
To Artifact [6375efcf60]:
- File src/main.c — part of check-in [4a9b51649d] at 2011-09-21 19:31:58 on branch json — added POST.payload to json_getenv() list. Re-organized /json/branch/list CLI/HTTP arg handling to behave sanely in CLI mode. Minor typo fix in main.c. (user: stephan size: 49748)
| ︙ | ︙ | |||
198 199 200 201 202 203 204 |
differently for CLI and CGI modes.
*/
} cmd;
struct { /* JSON POST data. */
cson_value * v;
cson_object * o;
} post;
| | | 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 |
differently for CLI and CGI modes.
*/
} cmd;
struct { /* JSON POST data. */
cson_value * v;
cson_object * o;
} post;
struct { /* GET/COOKIE params in JSON mode. */
cson_value * v;
cson_object * o;
} param;
struct {
cson_value * v;
cson_object * o;
} reqPayload; /* request payload object (if any) */
|
| ︙ | ︙ |