diff options
author | Eric Covener <covener@apache.org> | 2011-09-08 12:56:08 +0000 |
---|---|---|
committer | Eric Covener <covener@apache.org> | 2011-09-08 12:56:08 +0000 |
commit | c45e14b2464f2eadf022672fafd5632c835181ac (patch) | |
tree | fc70df526a7fe0689c38f672c2a08272b5ef9cbd /modules/test | |
parent | c2236c7cbf3dcf57c36a62895f04ba337d92e33a (diff) | |
download | httpd-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.c | 2 |
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); |