protected function prepare() { parent::prepare(); $this->addOption('body', false); //apply MDTM action on the file, if not valid status is 550 the simplest way for HEAD $this->addOption('commands.request', ['MDTM ' . $this->getUrl()->path()]); }
protected function prepare() { parent::prepare(); $this->addOption('body', false); $this->addOption('commands.post', ['DELE ' . $this->getUrl()->path()]); }
protected function prepare() { parent::prepare(); $this->addOption('url', $this->getUrl()); }