OPTIONS.class.php (413B)
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 }