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 /httpd.c | |
parent | 5784ddecb493802846695d8044d78448409de340 (diff) |
New variable USER_AGENT.
Diffstat (limited to 'httpd.c')
-rw-r--r-- | httpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |