httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48377] New: mod_filter should be able to process non-200 responses
Date Fri, 11 Dec 2009 16:32:43 GMT
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: bugs@httpd.apache.org
        ReportedBy: ash@huntwork.net


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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message