File dav/method/HEAD.class.php

Last commit: Thu Nov 7 22:23:10 2019 +0100	Jan Dankert	New: Delete objects.
1 <?php 2 3 class DAV_HEAD extends DAV 4 { 5 6 /** 7 * WebDav-HEAD-Methode. 8 */ 9 public function execute() 10 { 11 if ( ! $this->request->exists() ) 12 { 13 $this->httpStatus( '404 Not Found' ); 14 } 15 else 16 { 17 $this->httpStatus( '200 OK' ); 18 } 19 } 20 }
Download dav/method/HEAD.class.php
History Thu, 7 Nov 2019 22:23:10 +0100 Jan Dankert New: Delete objects. Mon, 4 Nov 2019 23:56:38 +0100 Jan Dankert Refactoring: Renaming WebDAV to DAV base class. Mon, 4 Nov 2019 23:54:13 +0100 Jan Dankert Refactoring: Splitting DAV methods into single files.