summaryrefslogtreecommitdiffstats
path: root/include/http_protocol.h
diff options
context:
space:
mode:
authorEric Covener <covener@apache.org>2011-09-08 14:56:08 +0200
committerEric Covener <covener@apache.org>2011-09-08 14:56:08 +0200
commitc45e14b2464f2eadf022672fafd5632c835181ac (patch)
treefc70df526a7fe0689c38f672c2a08272b5ef9cbd /include/http_protocol.h
parentThe default timeout value of 10s lives in two places, the per-server config (diff)
downloadapache2-c45e14b2464f2eadf022672fafd5632c835181ac.tar.xz
apache2-c45e14b2464f2eadf022672fafd5632c835181ac.zip
refactor to pull setting of Accept-Ranges header into http_protocol.c which
had been copied to other handlers. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1166663 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_protocol.h')
-rw-r--r--include/http_protocol.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/http_protocol.h b/include/http_protocol.h
index 18171db2c7..0227c22824 100644
--- a/include/http_protocol.h
+++ b/include/http_protocol.h
@@ -306,6 +306,13 @@ AP_DECLARE(void) ap_clear_method_list(ap_method_list_t *l);
*/
AP_DECLARE(void) ap_set_content_type(request_rec *r, const char *ct);
+/**
+ * Set the Accept-Ranges header for this respons
+ * @param r The current request
+ */
+AP_DECLARE(void) ap_set_accept_ranges(request_rec *r);
+
+
/* Hmmm... could macrofy these for now, and maybe forever, though the
* definitions of the macros would get a whole lot hairier.
*/