framework/server/core/src/main/java/org/ldp4j/server/controller/ExistingEndpointController.java
@Override
	public Response modifyResource(OperationContext context) {
		context.
			checkOperationSupport().
			checkContents().
			checkPreconditions();
		try {
			context.resource().modify(context.dataSet());
			ResponseBuilder builder=Response.noContent();
			EndpointControllerUtils.populateRequiredHeaders(builder, context);
			return builder.build();
		} catch (ApplicationExecutionException e) {
			throw diagnoseApplicationExecutionException(context, e);
		} catch (ApplicationContextException e) {
			throw new InternalServerException(context,e);
		}
	}
@Override
	public Response modifyResource(OperationContext context) {
		context.
			checkOperationSupport().
			checkContents().
			checkPreconditions();
		try {
			context.resource().modify(context.dataSet());
			ResponseBuilder builder=Response.noContent();
			EndpointControllerUtils.populateRequiredHeaders(builder, context);
			return builder.build();
		} catch (ApplicationExecutionException e) {
			throw diagnoseApplicationExecutionException(context, e);
		} catch (ApplicationContextException e) {
			throw new InternalServerException(context,e);
		}
	}
TODO: This could be improved by returning an OK with an additional
description of all the resources that were modified (updated, created,
deleted) as a side effect.