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. --- httpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httpd.c') diff --git a/httpd.c b/httpd.c index 5b26122..13591a1 100644 --- a/httpd.c +++ b/httpd.c @@ -158,7 +158,7 @@ void httpd_connection(int rs) ctype = "text/html; charset=utf-8"; headers = xs_dict_append(headers, "content-type", ctype); - headers = xs_dict_append(headers, "x-creator", "snac/2.x"); + headers = xs_dict_append(headers, "x-creator", USER_AGENT); if (b_size == 0 && body != NULL) b_size = strlen(body); -- cgit v1.2.3