                 log(level: .error, "The request received is nil.")
                 return GCDWebServerErrorResponse(statusCode: 500)
             }
-//            guard let path = request.path else {
-//                log(level: .error, "The request's path to the ressource is empty.")
-//                return GCDWebServerErrorResponse(statusCode: 500)
-//            }
+            //            guard let path = request.path else {
+            //                log(level: .error, "The request's path to the ressource is empty.")
+            //                return GCDWebServerErrorResponse(statusCode: 500)
+            //            }
             // Remove the prefix from the URI.
             let relativePath = request.path.substring(from: request.path.index(endpoint.endIndex, offsetBy: 2))
             let resource = publication.resource(withRelativePath: relativePath)

        }
    }

//    /// Remove a publication from the server.
//    ///
//    /// - Parameter endpoint: The PublicationIdentifier of the Publication to remove.
//    public func remove(publicationIdentifier: String) {
//        var keyToRemove: String? = nil
//
//        // Find the publication key in pubBoxes.
//        for pubBoxe in pubBoxes {
//            if pubBoxe.value.publication.metadata.identifier == publicationIdentifier {
//                keyToRemove = pubBoxe.key
//                break
//            }
//        }
//        // Remove the publication from the publicationServer served publications.
//        if keyToRemove != nil {
//            remove(at: keyToRemove!)
//        }
//    }

    /// Remove a publication from the server.
    ///
    /// - Parameter endpoint: The URI postfix of the ressource.

            pathRegex: "/\(endpoint)/.*",
            request: GCDWebServerRequest.self,
            processBlock: ressourcesHandler)
    }

    fileprivate func addManifestHandler(for pubBox: PubBox, at endpoint: String) {
        let publication = pubBox.publication
        let container = pubBox.associatedContainer

        /// The webserver handler to process the HTTP GET
        func manifestHandler(request: GCDWebServerRequest?) -> GCDWebServerResponse? {
