summaryrefslogtreecommitdiff
path: root/modules/test
diff options
context:
space:
mode:
authorEric Covener <covener@apache.org>2011-09-08 12:56:08 +0000
committerEric Covener <covener@apache.org>2011-09-08 12:56:08 +0000
commitc45e14b2464f2eadf022672fafd5632c835181ac (patch)
treefc70df526a7fe0689c38f672c2a08272b5ef9cbd /modules/test
parentc2236c7cbf3dcf57c36a62895f04ba337d92e33a (diff)
downloadhttpd-c45e14b2464f2eadf022672fafd5632c835181ac.tar.gz
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 'modules/test')
-rw-r--r--modules/test/mod_dialup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/test/mod_dialup.c b/modules/test/mod_dialup.c
index 316a81cc6c..eec35f4a95 100644
--- a/modules/test/mod_dialup.c
+++ b/modules/test/mod_dialup.c
@@ -172,7 +172,7 @@ dialup_handler(request_rec *r)
ap_update_mtime(r, r->finfo.mtime);
ap_set_last_modified(r);
ap_set_etag(r);
- apr_table_setn(r->headers_out, "Accept-Ranges", "bytes");
+ ap_set_accept_ranges(r);
ap_set_content_length(r, r->finfo.size);
status = ap_meets_conditions(r);