diff options
| author | default <nobody@localhost> | 2024-11-07 19:42:02 +0100 |
|---|---|---|
| committer | default <nobody@localhost> | 2024-11-07 19:42:02 +0100 |
| commit | 0f8ade8c6050d61d1a9bf0522ac087eaf41eab14 (patch) | |
| tree | 9eff0dbadcf4ca0807fe69f5a1f1ed8cdd20d3f9 /snac.h | |
| parent | 916dc76332b6a780cf3e3cebaab3bec139684f1d (diff) | |
Propagate 'last-modified' and 'etag' fields while proxying.
But does it work?
Diffstat (limited to 'snac.h')
| -rw-r--r-- | snac.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -349,7 +349,9 @@ xs_str *html_timeline(snac *user, const xs_list *list, int read_only, const char *title, const char *page, int utl, const char *error); int html_get_handler(const xs_dict *req, const char *q_path, - char **body, int *b_size, char **ctype, xs_str **etag); + char **body, int *b_size, char **ctype, + xs_str **etag, xs_str **last_modified); + int html_post_handler(const xs_dict *req, const char *q_path, char *payload, int p_size, char **body, int *b_size, char **ctype); |