httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (David Robinson)
Subject Re: vote status (patch 78)
Date Fri, 16 Feb 1996 16:58:00 GMT
>How about adding a new function which handles the case where the
>inherited method should be set to GET.  Something like:
>   internal_redirect_get(char *new_uri, request_rec *r)

That's OK.

>There are only 5 places where internal_redirect() is called.  mod_actions, 
>mod_cgi, mod_dir, mod_negotiation and once from http_request itself to 
>do the custom error message response.  4 of these calls require that the
>method be inherited.  Only the http_request call needs it to be forced
>to GET.  I propose that the call in http_request.c be changed to
>internal_redirect_get() and this function be added to http_request.c.

Umm, I thought that the mod_cgi call needed internal_redirect_get(),
the mod_dir call could work with either, and only mod_actions and
mod_negotiation need internal_redirect().


View raw message