Graham Leggett wrote:
> On 21 Dec 2011, at 2:57 PM, Ruediger Pluem wrote:
> 
>>> +        apr_table_addn(r->headers_out, "Warning", apr_psprintf(r->pool,
>>> +                "299 %s \"%s\"", ap_get_server_name(r), message));
>>
>> What is this 299 about?
> 
> It's described in RFC2616:
> 
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.46


Ahh. Thanks for the pointer. Missed that it got set as a Warning header. I 
thought
that this string got logged :-). Hence my confusion.
Anyway shouldn't we #define 299 to a selfspeaking name like other HTTP codes 
such that
this is recognized faster by the code reader?

Regards

RĂ¼diger

Reply via email to