projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a6bf5f
)
Allow browsers to cache images and other static content.
author
Tilghman Lesher
<tilghman@meg.abyt.es>
Mon, 23 Mar 2009 23:28:20 +0000
(23:28 +0000)
committer
Tilghman Lesher
<tilghman@meg.abyt.es>
Mon, 23 Mar 2009 23:28:20 +0000
(23:28 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@183865
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
main/http.c
patch
|
blob
|
history
diff --git
a/main/http.c
b/main/http.c
index
27ae407
..
934eaf0
100644
(file)
--- 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);