mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Allow browsers to cache images and other static content.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@183865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -213,7 +213,7 @@ static struct ast_str *static_callback(struct ast_tcptls_session_instance *ser,
|
||||
"Server: Asterisk/%s\r\n"
|
||||
"Date: %s\r\n"
|
||||
"Connection: close\r\n"
|
||||
"Cache-Control: no-cache, no-store\r\n"
|
||||
"Cache-Control: private\r\n"
|
||||
"Content-Length: %d\r\n"
|
||||
"Content-type: %s\r\n\r\n",
|
||||
ast_get_version(), buf, (int) st.st_size, mtype);
|
||||
|
Reference in New Issue
Block a user