You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "William A. Rowe, Jr." <wr...@rowe-clan.net> on 2002/04/05 21:42:06 UTC

[Patch] Fixing the redirect content-type and such

We have an essential problem in filters ... the protocol level filters are
added by the original request.  Protocol filters that reflect the f->r member
seem to be hosed when an internal_internal_redirect() is passed down the
filter stack.

Ryan and I discussed, he's thinking in terms of fixing the r->output_headers
to reflect r->next->output_headers.  I'm thinking more in terms of 'repairing'
the filter stack to indicate the correct, internallly redirected new request.

If someone has the entire test suite handy, please try this attached patch
which fixed all original filters that point to the original request, to point
instead at the new request in internal_internal_redirect.

And yes, /nothere.txt now reports text/html; charset=ISO8859-1

Bill

Bill