> Am 04.11.2016 um 17:23 schrieb Yann Ylavic <ylavic....@gmail.com>:
> 
> On Fri, Nov 4, 2016 at 2:09 PM, William A Rowe Jr <wr...@rowe-clan.net> wrote:
>> 
>> What would a non-three-digit, >599 response look like? Perhaps we have
>> a good case for a NULL response or a generic 500.
> 
> AFAICT, an empty reason is allowed (the space after the status is
> required though).
> So maybe something like the attached patch?
> <ap_get_status_line_ex.patch>

The patch looks fine to me. I do just feel a tad bit uncomfortable with the 
empty description. How about 
+        return apr_psprintf(p, "%i No Description", status);

There are probably tons of client implementations out there that will fail when 
nothing comes after the space.

-Stefan

Reply via email to