[svn-commits] tilghman: trunk r183865 - /trunk/main/http.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Mar 23 18:28:31 CDT 2009


Author: tilghman
Date: Mon Mar 23 18:28:20 2009
New Revision: 183865

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=183865
Log:
Allow browsers to cache images and other static content.

Modified:
    trunk/main/http.c

Modified: trunk/main/http.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/main/http.c?view=diff&rev=183865&r1=183864&r2=183865
==============================================================================
--- trunk/main/http.c (original)
+++ trunk/main/http.c Mon Mar 23 18:28:20 2009
@@ -213,7 +213,7 @@
 		"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);




More information about the svn-commits mailing list