Proper handling of response statuses