aboutsummaryrefslogtreecommitdiff
path: root/snac.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-11-07 19:42:02 +0100
committerdefault <nobody@localhost>2024-11-07 19:42:02 +0100
commit0f8ade8c6050d61d1a9bf0522ac087eaf41eab14 (patch)
tree9eff0dbadcf4ca0807fe69f5a1f1ed8cdd20d3f9 /snac.h
parent916dc76332b6a780cf3e3cebaab3bec139684f1d (diff)
Propagate 'last-modified' and 'etag' fields while proxying.
But does it work?
Diffstat (limited to 'snac.h')
-rw-r--r--snac.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/snac.h b/snac.h
index 27c3d68..3c3b044 100644
--- a/snac.h
+++ b/snac.h
@@ -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);