use requests status code