... That, plus what Joshua Tuberville quoted from RFC 2616:

... applications MUST understand the class of any status code, as indicated by the first digit, and treat any unrecognized response as being equivalent to the x00 status code of that class
Note the use of the word "MUST". Hence, Restlet is NOT in compliance with the RFC. I would consider this a bug.

After reading that bit of the RFC I agree.
isSuccess() should return true for all 2xx. Also, for all other applicables.

Jon

Reply via email to