diff options
author | default <nobody@localhost> | 2022-09-25 21:02:47 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-09-25 21:02:47 +0200 |
commit | e132ce5076db459642b07b7e85af80f4c353edf7 (patch) | |
tree | 63c823f0d3b023647031a2e02c058a6a9bbc7564 /http.c | |
parent | fcf9329449e59fe4cce179ad4e5282d87ed5f1f4 (diff) |
New function msg_actor().
Diffstat (limited to 'http.c')
-rw-r--r-- | http.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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, |