code: def _handle_delete(self, transaction):
          
          path = str("/" + transaction.request.uri_path)
          transaction.response = Response()
          transaction.response.destination = transaction.request.source
          transaction.response.token = transaction.request.token
          try:
              resource = self._server.root[path]
          except KeyError:
              resource = None
  
          if resource is None:
              transaction.response.code = defines.Codes.NOT_FOUND.number
          else:
              # Delete
              transaction.resource = resource
              transaction = self._server.resourceLayer.delete_resource(transaction, path)
          return transaction
docs: Handle DELETE requests
  
          :type transaction: Transaction
          :param transaction: the transaction that owns the request
          :rtype : Transaction
          :return: the edited transaction with the response to the request