# File lib/chef_zero/endpoints/cookbook_artifact_identifier_endpoint.rb, line 17
      def put(request)
        if exists_data?(request)
          return error(409, "Cookbooks cannot be modified, and a cookbook with this identifier already exists.")
        end

        set_data(request, nil, request.body, :create_dir)

        return already_json_response(201, request.body)
      end