summaryrefslogtreecommitdiff
path: root/http.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-09-27 18:01:51 +0200
committerdefault <nobody@localhost>2022-09-27 18:01:51 +0200
commitf1dbd8e70092fac0b202a98a10a832851cdd7f14 (patch)
tree2cf8137bc291b81e3d5771ad953abde1da38b463 /http.c
parent5784ddecb493802846695d8044d78448409de340 (diff)
New variable USER_AGENT.
Diffstat (limited to 'http.c')
-rw-r--r--http.c2
1 files changed, 1 insertions, 1 deletions
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);