Use HTTP_SUCCESS for checking success status code

rest_client contains HTTP_SUCCESS already for representing HTTP
success status codes and this patch replaces the status check with
it for the strict validation.

Change-Id: I70371883074addd4c76f08eced16e0b792247a5b
1 file changed