@SuppressWarnings("StatementWithEmptyBody")
    private void createDirectory(ContentRequest request, ApplicationFile file) {
        if (request.hasRequestBody()) {
            // TODO: Enable when we have a good way to check if request contains a body
            // return new HttpErrorResponse(HttpResponse.Status.BAD_REQUEST, "Request should not contain a body when creating directories");
        }
        file.createDirectory();
    }
Requests for content and content status, both for prepared and active sessions,
are handled by this class.

@author hmusum
configserver/src/main/java/com/yahoo/vespa/config/server/http/ContentHandler.java