diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -354,6 +354,15 @@ nostreamheader: * won't be completed till we call soup_message_body_complete() */ soup_message_set_status (msg, SOUP_STATUS_OK); + /* Make sure that browsers never cache our responses */ + soup_message_headers_append (msg->response_headers, + "Cache-Control", + "no-cache, no-store, must-revalidate"); + soup_message_headers_append (msg->response_headers, + "Pragma", "no-cache"); + soup_message_headers_append (msg->response_headers, + "Expires", "0"); + out: gst_object_unref (template); gst_object_unref (srcpad); |