diff options
| author | 2022-09-24 11:54:35 +0200 | |
|---|---|---|
| committer | 2022-09-24 11:54:35 +0200 | |
| commit | e9afd7cd13d2e11e8602f6508bbea5e76db7018e (patch) | |
| tree | fb97cfa4ff33c7b2368a4c2d6ba0e8d953565c5f /httpd.c | |
| parent | More message work. (diff) | |
| download | snac2-e9afd7cd13d2e11e8602f6508bbea5e76db7018e.tar.gz snac2-e9afd7cd13d2e11e8602f6508bbea5e76db7018e.tar.xz snac2-e9afd7cd13d2e11e8602f6508bbea5e76db7018e.zip | |
More work.
Diffstat (limited to 'httpd.c')
| -rw-r--r-- | httpd.c | 5 |
1 files changed, 0 insertions, 5 deletions
| @@ -106,11 +106,6 @@ void httpd_connection(int rs) | |||
| 106 | 106 | ||
| 107 | req = xs_httpd_request(f, &payload, &p_size); | 107 | req = xs_httpd_request(f, &payload, &p_size); |
| 108 | 108 | ||
| 109 | { | ||
| 110 | xs *j = xs_json_dumps_pp(req, 4); | ||
| 111 | printf("%s\n", j); | ||
| 112 | } | ||
| 113 | |||
| 114 | req_hdrs = xs_dict_get(req, "headers"); | 109 | req_hdrs = xs_dict_get(req, "headers"); |
| 115 | 110 | ||
| 116 | method = xs_dict_get(req_hdrs, "method"); | 111 | method = xs_dict_get(req_hdrs, "method"); |