Cfy 1275 adjust rest client to work with py26