Added HTTP "Server" header

This commit is contained in:
Frank Schmirler
2013-10-02 00:03:39 +02:00
parent e1ba17ca21
commit 8c5859ed4a
3 changed files with 4 additions and 1 deletions

View File

@@ -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);