[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More comments on pre-draft (as of 2007-05-17)



I think the spec could be better on this point. The response code might
not always be 200.

- James

Tim Bray wrote:
> 
> On May 17, 2007, at 8:30 AM, Julian Reschke wrote:
> 
>>>>    2.  If the deletion is successful the server responds with a status
>>>>        code of 200.
>>>>
>>>> JRE: are we sufficiently clear that this may be another 2xx status,
>>>> such as 204, as well?
>>> To me, "200" means "200", not "2xx". I'm not sure what we want, but
>>> we don't want to mix those up.
>>
>> Yes, but we say earlier that any HTTP success code is OK. People are
>> likely to misread this part of the spec to mean that it'll be always
>> be 200.
> 
> Yes, in fact, the Ape once crapped on someone's implementation because
> it responded to a PUT with no body and (correctly) a 204.  If that's not
> OK per the spec, that's a bug. -Tim
> 
>