From 8c5859ed4adaf8a642d1ef4f6647f53f0879f560 Mon Sep 17 00:00:00 2001 From: Frank Schmirler Date: Wed, 2 Oct 2013 00:03:39 +0200 Subject: Added HTTP "Server" header --- server/connectionHTTP.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server') diff --git a/server/connectionHTTP.c b/server/connectionHTTP.c index 26f6d1c..ac4763b 100644 --- a/server/connectionHTTP.c +++ b/server/connectionHTTP.c @@ -324,7 +324,8 @@ bool cConnectionHTTP::HttpResponse(int Code, bool Last, const char* ContentType, if (rc) rc = Respond("Connection: close") && Respond("Pragma: no-cache") - && Respond("Cache-Control: no-cache"); + && Respond("Cache-Control: no-cache") + && Respond("Server: VDR-%s / streamdev-server-%s", true, VDRVERSION, VERSION); time_t t = time(NULL); struct tm *gmt = gmtime(&t); -- cgit v1.2.3