From 46be58ab1d0e183b563d51f2a8bb37fa4c952730 Mon Sep 17 00:00:00 2001 From: z3APA3A <3APA3A@3proxy.ru> Date: Tue, 22 May 2018 19:15:31 +0300 Subject: [PATCH] Add filename to XML data --- src/webadmin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/webadmin.c b/src/webadmin.c index 5cee409..2908879 100644 --- a/src/webadmin.c +++ b/src/webadmin.c @@ -187,7 +187,8 @@ char * admin_stringtable[]={ "HTTP/1.0 200 OK\r\n" "Connection: close\r\n" "Cache-Control: no-cache\r\n" - "Content-type: text/xml\r\n" + "Content-type: text/xml; charset=utf-8\r\n" + "Content-disposition: inline; filename=running.xml\r\n" "\r\n" "\r\n" "\r\n"