From: Berend de B. <be...@po...> - 2007-12-07 21:12:42
|
>>>>> "Colin" =3D=3D Colin Paul Adams <co...@co...> writes: Colin> I agree with almost everything there. Empty string IS a path Colin> (from RFC 2986): Is this the correct rfc number? Colin> So I think EPX_HTTP_10_CLIENT SHOULD accept empty Colin> string. After all, what is one supposed to do if an HTTP Colin> server were actually to distinguish between the two requests Colin> (as far as I can see from reading RFC 2616, this is Colin> legitimate)?=20 No, because it says: - An empty abs_path is equivalent to an abs_path of "/". Colin> In any case I think you ought to explicitly document this Colin> behaviour. It sort of is: it doesn't except empty strings. Which should be it should accept valid paths. But I like to be able to distinguish between Void and empty strings which are almost always invalid, i.e. input errors, instead of doing something that the user might not intended. But an additional explicit comment might be in order. =2D-=20 Cheers, Berend de Boer |