diff --git a/lib/ldp.js b/lib/ldp.js index 2c4e849f..13ec6b0f 100644 --- a/lib/ldp.js +++ b/lib/ldp.js @@ -137,7 +137,6 @@ class LDP { } async post (hostname, containerPath, stream, { container, slug, extension, contentType }) { - console.log('container:', container) // POST without content type is forbidden if (!contentType) { throw error(400, @@ -157,11 +156,8 @@ class LDP { if (container) { // the name of a container cannot be a valid auxiliary resource document while (this._containsInvalidSuffixes(slug + '/')) { - console.log('splitting slug', slug) - // slug = slug.split('.')[0] const idx = slug.lastIndexOf('.') slug = slug.substr(0, idx) - console.log('new slug', slug) } } else if (this.isAuxResource(slug, extension)) throw error(403, 'POST is not allowed for auxiliary resources')