https://issues.apache.org/bugzilla/show_bug.cgi?id=48377
Summary: mod_filter should be able to process non-200 responses
Product: Apache httpd-2
Version: 2.3-HEAD
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: mod_filter
AssignedTo: [email protected]
ReportedBy: [email protected]
I'm trying to use mod_filter (specifically mod_substitute) on non-200
responses, specifically with a 404 response. After playing around for
a while and assuming that i had screwed something up, i discovered
that mod_filter specifically skips non-200 responses [1]. The feature request
is to make skipping non-200 responses configurable in some way.
1.
static apr_status_t filter_harness(ap_filter_t *f, apr_bucket_brigade *bb)
{
apr_status_t ret;
const char *cachecontrol;
char *str;
harness_ctx *ctx = f->ctx;
ap_filter_rec_t *filter = f->frec;
if (f->r->status != 200) {
ap_remove_output_filter(f);
return ap_pass_brigade(f->next, bb);
}
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]