From: Tilghman Lesher Date: Mon, 23 Mar 2009 23:31:42 +0000 (+0000) Subject: Merged revisions 183865 via svnmerge from X-Git-Tag: 1.6.1.0-rc4~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bef47ea40ba9e4cf25beea099c8b520d7cb03995;p=thirdparty%2Fasterisk.git 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: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@183867 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/http.c b/main/http.c index deb406165d..6dea2fed63 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);