File dav/method/OPTIONS.class.php
Last commit: Mon Nov 4 23:56:38 2019 +0100 Jan Dankert Refactoring: Renaming WebDAV to DAV base class.
1 <?php 2 3 class DAV_OPTIONS extends DAV 4 { 5 6 /** 7 * HTTP-Methode OPTIONS.<br> 8 * <br> 9 * Es werden die verfuegbaren Methoden ermittelt und ausgegeben. 10 */ 11 public function execute() 12 { 13 header('DAV: 1'); // Wir haben DAV-Level 1. 14 header('Allow: '.implode(', ',$this->allowed_methods()) ); 15 16 Logger::trace('OPTIONS: '.'Allow: '.implode(', ',$this->allowed_methods())); 17 18 $this->httpStatus( '200 OK' ); 19 } 20 }
Downloaddav/method/OPTIONS.class.php
History 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.