You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Stas Bekman <st...@stason.org> on 2004/07/17 02:09:33 UTC

misleading doc for ap_custom_response string argument

/**
  * Install a custom response handler for a given status
  * @param r The current request
  * @param status The status for which the custom response should be used
  * @param string The custom response.  This can be a static string, a file
  *               or a URL
  */
AP_DECLARE(void) ap_custom_response(request_rec *r, int status, const 
char *string);

It does handle full and relative URLs and strings, but not files. Did 
you mean something else when saying "file"?


-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Re: misleading doc for ap_custom_response string argument

Posted by Stas Bekman <st...@stason.org>.
Stas Bekman wrote:
> /**
>  * Install a custom response handler for a given status
>  * @param r The current request
>  * @param status The status for which the custom response should be used
>  * @param string The custom response.  This can be a static string, a file
>  *               or a URL
>  */
> AP_DECLARE(void) ap_custom_response(request_rec *r, int status, const 
> char *string);
> 
> It does handle full and relative URLs and strings, but not files. Did 
> you mean something else when saying "file"?

anyone?


-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com