src/Server.php
protected function handleDELETE(): ResponseInterface
	{
		if (!is_file($this->file))
			return $this->response->withStatus(404);

		unlink($this->file);

		$cacheStore = $this->file . ".cachecontainer";
		if (is_file($cacheStore))
			unlink($cacheStore);

		return $this->response->withStatus(204);
	}
protected function handleDELETE(): ResponseInterface
	{
		if (!is_file($this->file))
			return $this->response->withStatus(404);

		unlink($this->file);

		$cacheStore = $this->file . ".cachecontainer";
		if (is_file($cacheStore))
			unlink($cacheStore);

		return $this->response->withStatus(204);
	}
protected function handleDELETE ( ) : ResponseInterface { if ( ! is_file ( $ this -> file ) ) return $ this -> response -> withStatus ( 404 ) ; unlink ( $ this -> file ) ; $ cacheStore = $ this -> file . ".cachecontainer" ; if ( is_file ( $ cacheStore ) ) unlink ( $ cacheStore ) ; return $ this -> response -> withStatus ( 204 ) ; }
Handle DELETE requests.

Remove an existing file from the server and its associated resources. Useful when the client
decides to abort an upload.

@return \Psr\Http\Message\ResponseInterface
Handle DELETE requests .