aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/http.h
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-30 15:30:02 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-30 15:30:02 +0000
commitec3ba251f0761f8a3a06ccc34ef229079975421a (patch)
treee5a8e0409e6f7c1bcf940e8fc69565705a50582d /include/asterisk/http.h
parentb7f4370ad85c3b46116edaee19306a0c1965dfb5 (diff)
Merged revisions 62414 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r62414 | russell | 2007-04-30 10:25:31 -0500 (Mon, 30 Apr 2007) | 4 lines When serving dynamic content, include a Cache-Control header to instruct the browsers to not store the resulting content. (issue #9621, reported by Pari, patch by me) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@62415 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/http.h')
-rw-r--r--include/asterisk/http.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asterisk/http.h b/include/asterisk/http.h
index 94befbc00..9508188ab 100644
--- a/include/asterisk/http.h
+++ b/include/asterisk/http.h
@@ -152,7 +152,9 @@ struct ast_http_uri {
AST_LIST_ENTRY(ast_http_uri) entry;
const char *description;
const char *uri;
- int has_subtree;
+ unsigned int has_subtree:1;
+ /*! This URI mapping serves static content */
+ unsigned int static_content:1;
ast_http_callback callback;
};