Hi Bert,

> So, if the content contains the information that no person with that ID
> is in the system, then that is information, everything went well, the
> class did its work without error, then that is not an error, and one
> could argument that 200 should be returned, or maybe 204, and not 404,
> which means that the resource to look for (which is the call handling
> process/class) was not found.

You should see a resource as an instance of some data object and not as 
some process providing access to the data. A resource is a document, not 
the process providing access to documents.

Compare it with a normal web server:

If you try to access a resource (web page) which is not there, it 
returns a 404.
Although the process providing the resource exists (the webserver) the 
resource you are after does not (the web page), hence the 404.

A 404 means the client was able to connect to the server, but the server 
was unable to find the information you are looking for.
Its an error made by the client, not by the server.


Ralph.

MedVision360


-- 
This e-mail message is intended exclusively for the addressee(s). Please 
inform us immediately if you are not the addressee. 

Reply via email to