aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-03-23 23:31:42 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-03-23 23:31:42 +0000
commit592546629da688680d42228e496398c3b769d780 (patch)
treef6f6e87fe8ef34b550b9362c2c547128a721fe01 /main
parent11bbad4bc3f781009c1a46548ec1b021760b64e0 (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.1@183867 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/http.c b/main/http.c
index deb406165..6dea2fed6 100644
--- a/main/http.c
+++ b/main/http.c
@@ -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);