summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.c9
1 files 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);