From e0f6ea3901e1dd767b0b33e9bcea5b3c9c09d42e Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Thu, 17 Jul 2014 19:55:50 +0530 Subject: server: Send a Content-Type header as well Older versions of Firefox require this --- src/main.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 8308521..1921778 100644 --- a/src/main.c +++ b/src/main.c @@ -368,12 +368,17 @@ force_key_unit: /* Make sure that browsers never cache our responses */ soup_message_headers_append (msg->response_headers, - "Cache-Control", - "no-cache, no-store, must-revalidate"); + "Cache-Control", "no-cache"); + soup_message_headers_append (msg->response_headers, + "Cache-Control", "no-store"); + soup_message_headers_append (msg->response_headers, + "Cache-Control", "must-revalidate"); soup_message_headers_append (msg->response_headers, "Pragma", "no-cache"); soup_message_headers_append (msg->response_headers, "Expires", "0"); + soup_message_headers_append (msg->response_headers, + "Content-Type", "video/webm"); out: gst_object_unref (template); -- cgit v0.11.2-2-gd1dd