Checking the httparty response status