diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2014-07-17 14:25:50 (GMT) |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2014-07-17 14:25:50 (GMT) |
commit | e0f6ea3901e1dd767b0b33e9bcea5b3c9c09d42e (patch) | |
tree | 3d83947cf295a70d916fa4a289f584c043888245 | |
parent | 84d5d31dcfb2715a4bf35dc898e4a7f3212ba0cf (diff) | |
download | soup-transcoding-proxy-e0f6ea3901e1dd767b0b33e9bcea5b3c9c09d42e.zip soup-transcoding-proxy-e0f6ea3901e1dd767b0b33e9bcea5b3c9c09d42e.tar.gz |
server: Send a Content-Type header as well
Older versions of Firefox require this
-rw-r--r-- | src/main.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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); |