diff options
author | Eric Covener <covener@apache.org> | 2011-09-08 14:56:08 +0200 |
---|---|---|
committer | Eric Covener <covener@apache.org> | 2011-09-08 14:56:08 +0200 |
commit | c45e14b2464f2eadf022672fafd5632c835181ac (patch) | |
tree | fc70df526a7fe0689c38f672c2a08272b5ef9cbd /include/http_protocol.h | |
parent | The default timeout value of 10s lives in two places, the per-server config (diff) | |
download | apache2-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.h | 7 |
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. */ |