mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
Added HTTP "Server" header
This commit is contained in:
parent
e1ba17ca21
commit
8c5859ed4a
@ -220,3 +220,4 @@ thomasjfox
|
||||
|
||||
hivdr
|
||||
for adding the pos= parameter for replaying recordings from a certain position
|
||||
for suggesting to add the HTTP "Server" header
|
||||
|
1
HISTORY
1
HISTORY
@ -1,6 +1,7 @@
|
||||
VDR Plugin 'streamdev' Revision History
|
||||
---------------------------------------
|
||||
|
||||
- Added HTTP "Server" header (suggested by hivdr)
|
||||
- Ignore dummy file extensions (.ts, .vob, .vdr) when parsing HTTP URIs
|
||||
- Select start position for replaying a recording by parameter pos=. Supported
|
||||
values are resume, mark.#, time.#, frame.# or a plain # representing a
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user