Re: [xml-dev] More on REST and HTTP status codes

From
Tim Bray <>
To
Date
2004-03-06T03:10:46Z
ID
<>
Thread
Re: [xml-dev] More on REST and HTTP status codes
On Mar 5, 2004, at 6:19 PM, K. Ari Krupnikov wrote:

> What status should a server return for a request such as
>
> http://example.com/catalog?product=0001
>
> if the resource that identifies the catalog (example.com/catalog) is
> available but cannot find the product identified in the query string?
>
> The question boils down to whether an HTTP URI is opaque or if the
> question mark has predefined semantics. (The specs would have me
> believe the former, but the practice seems to be the latter).

404.  The URI is opaque.  There is no such resource.  -Tim