httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@gmail.com>
Subject Re: ap_meets_conditions doc: bogus return value?
Date Sat, 17 Jul 2004 15:05:10 GMT
On Fri, 16 Jul 2004 21:48:23 -0700, Stas Bekman <stas@stason.org> wrote:

> AP_DECLARE(int) ap_meets_conditions(request_rec *r);
> 
> The @return value seems to be totally bogus, the function returns OK (0)
> if the conditions were met (not 1), otherwise it returns either of these
> two:
> 
> #define HTTP_PRECONDITION_FAILED           412
> #define HTTP_NOT_MODIFIED                  304
> 
> though since other constants may be returned later should the doc be
> something like the following:
> 
>   * @return OK if the response fulfills the condition GET rules, some
> other status code otherwise

+1

Mime
View raw message