aboutsummaryrefslogtreecommitdiffstats
path: root/main/http.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-03-23 23:29:51 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-03-23 23:29:51 +0000
commited3b40bd6477e9e1cd916343fe1dd049ce7e3f8a (patch)
treed78d4b458f4752dc19ae5f248c5f5847beaa857e /main/http.c
parent028c9ed8d767bbae8c838a1c85f3e40097d982f8 (diff)
Merged revisions 183865 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r183865 | tilghman | 2009-03-23 18:28:20 -0500 (Mon, 23 Mar 2009) | 2 lines Allow browsers to cache images and other static content. (This is a regression over 1.4) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@183866 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/http.c')
-rw-r--r--main/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/http.c b/main/http.c
index 94a82bfcb..7a2002abb 100644
--- a/main/http.c
+++ b/main/http.c
@@ -208,7 +208,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);