I tested at open source Chef and for a some reason HEAD method don't work for /environments/${environmentname} . I will remove this method