diff options
author | default <nobody@localhost> | 2022-09-27 18:01:51 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-09-27 18:01:51 +0200 |
commit | f1dbd8e70092fac0b202a98a10a832851cdd7f14 (patch) | |
tree | 2cf8137bc291b81e3d5771ad953abde1da38b463 /http.c | |
parent | 5784ddecb493802846695d8044d78448409de340 (diff) |
New variable USER_AGENT.
Diffstat (limited to 'http.c')
-rw-r--r-- | http.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |