summaryrefslogtreecommitdiff
path: root/http.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-09-25 21:02:47 +0200
committerdefault <nobody@localhost>2022-09-25 21:02:47 +0200
commite132ce5076db459642b07b7e85af80f4c353edf7 (patch)
tree63c823f0d3b023647031a2e02c058a6a9bbc7564 /http.c
parentfcf9329449e59fe4cce179ad4e5282d87ed5f1f4 (diff)
New function msg_actor().
Diffstat (limited to 'http.c')
-rw-r--r--http.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/http.c b/http.c
index 79ad239..abc3466 100644
--- a/http.c
+++ b/http.c
@@ -86,6 +86,7 @@ d_char *http_signed_request(snac *snac, char *method, char *url,
hdrs = xs_dict_append(hdrs, "date", date);
hdrs = xs_dict_append(hdrs, "signature", signature);
hdrs = xs_dict_append(hdrs, "digest", digest);
+ hdrs = xs_dict_append(hdrs, "host", xs_dict_get(srv_config, "host"));
hdrs = xs_dict_append(hdrs, "user-agent", "snac/2.x");
response = xs_http_request(method, url, hdrs,