Hi,

I have a question regarding responses on unassigned URIs. If I have the
following valid URI (Resource attached):

localhost:8180/algorithm/learning/classification/kNN

and make a GET request to 

localhost:8180/algorithm/learning/classification/kNN77777

what I get back is the same as for the first URI. 
The same bahavior seems to be true for cases where the back part of an
URI is not linked to a Resource but the first part is valid. So
everything that has the correct base URI will fall back on the base URI 
(e.g. localhost:8180/) if no Resource is attached.

My question is, if this behavior can be turned off and some standard
return status like 400 can be issued instead.

Thanks and best regards,
Tobias

-- 
Dipl.-Bioinf. Tobias Girschick

Technische Universität München
Institut für Informatik
Lehrstuhl I12 - Bioinformatik
Bolzmannstr. 3
85748 Garching b. München, Germany

Room: MI 01.09.042
Phone: +49 (89) 289-18002
Email: [email protected]
Web: http://wwwkramer.in.tum.de/people/girschic

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

Reply via email to