From f1dbd8e70092fac0b202a98a10a832851cdd7f14 Mon Sep 17 00:00:00 2001 From: default Date: Tue, 27 Sep 2022 18:01:51 +0200 Subject: New variable USER_AGENT. --- http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'http.c') diff --git a/http.c b/http.c index c57714d..7c9b598 100644 --- a/http.c +++ b/http.c @@ -90,7 +90,7 @@ d_char *http_signed_request(snac *snac, char *method, char *url, hdrs = xs_dict_append(hdrs, "signature", signature); hdrs = xs_dict_append(hdrs, "digest", digest); hdrs = xs_dict_append(hdrs, "host", host); - hdrs = xs_dict_append(hdrs, "user-agent", "snac/2.x"); + hdrs = xs_dict_append(hdrs, "user-agent", USER_AGENT); response = xs_http_request(method, url, hdrs, body, b_size, status, payload, p_size); -- cgit v1.2.3