>From your answer, I think I might be misunderstanding the basic concept of a 
>resource.

The way I understand it is, if you have a /reports resource that lists all 
available reports and accepts a count parameter that limits the number of 
reports returned in a given query, /reports?count=10 and /reports?count=20 are 
the same resource.

With that in mind, /reports?count=foobar isn't a 404 (the reports resource was 
found) but a 400 (query parameter 'count' has an illegal value).

What you're saying, however, is that /reports?count=10 and /reports?count=20 
are two different resources? This isn't what I understood at all, but it 
probably means I didn't understand it correctly. If that's the case, I 
apologise for wasting your time and will be doing some more reading on what a 
resource actually is.

Regards,
Nicolas

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2380725

Reply via email to