diff options
| author | 2022-09-25 21:45:58 +0200 | |
|---|---|---|
| committer | 2022-09-25 21:45:58 +0200 | |
| commit | bf1ee12da28894cf08b704adb24ce399459072e0 (patch) | |
| tree | ecbb246271d736176dca120400bae6548bdbdfa1 /http.c | |
| parent | New function msg_actor(). (diff) | |
| download | snac2-bf1ee12da28894cf08b704adb24ce399459072e0.tar.gz snac2-bf1ee12da28894cf08b704adb24ce399459072e0.tar.xz snac2-bf1ee12da28894cf08b704adb24ce399459072e0.zip | |
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, | |||
| 86 | hdrs = xs_dict_append(hdrs, "date", date); | 86 | hdrs = xs_dict_append(hdrs, "date", date); |
| 87 | hdrs = xs_dict_append(hdrs, "signature", signature); | 87 | hdrs = xs_dict_append(hdrs, "signature", signature); |
| 88 | hdrs = xs_dict_append(hdrs, "digest", digest); | 88 | hdrs = xs_dict_append(hdrs, "digest", digest); |
| 89 | hdrs = xs_dict_append(hdrs, "host", xs_dict_get(srv_config, "host")); | 89 | hdrs = xs_dict_append(hdrs, "host", host); |
| 90 | hdrs = xs_dict_append(hdrs, "user-agent", "snac/2.x"); | 90 | hdrs = xs_dict_append(hdrs, "user-agent", "snac/2.x"); |
| 91 | 91 | ||
| 92 | response = xs_http_request(method, url, hdrs, | 92 | response = xs_http_request(method, url, hdrs, |