HTTP : What is true about HTTP response status code coming from server to android application?
i. Status code is available in status line, which contains the result status of server response.
ii. If status code is > 400, then it means success from server side.
iii. If status code is <= 400, then it means success from server side.
i & iii
none of the above.
Response status code >=400 means error, else success.
Note : as a simple example, status code 404 is an error "page not found". So error codes are always > 400.
Back To Top