diff options
author | default <nobody@localhost> | 2022-09-25 21:45:58 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-09-25 21:45:58 +0200 |
commit | bf1ee12da28894cf08b704adb24ce399459072e0 (patch) | |
tree | ecbb246271d736176dca120400bae6548bdbdfa1 /http.c | |
parent | e132ce5076db459642b07b7e85af80f4c353edf7 (diff) |
More sign work (I'm tired).
Diffstat (limited to 'http.c')
-rw-r--r-- | http.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -86,7 +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, "host", host); hdrs = xs_dict_append(hdrs, "user-agent", "snac/2.x"); response = xs_http_request(method, url, hdrs, |