kernel/private/rest/classes/controllers/rest_controller.php
public function doHttpOptions()
    {
        $methods = implode( ', ', $this->supported_http_methods );
        $result = new ezpRestMvcResult;
        $result->status = new ezpRestStatusResponse(
            ezpHttpResponseCodes::OK,
            'Allowed methods are: ' . $methods,
            array( 'Allow' => $methods )
        );
        return $result;
    }
public function doHttpOptions()
    {
        $methods = implode( ', ', $this->supported_http_methods );
        $result = new ezpRestMvcResult;
        $result->status = new ezpRestStatusResponse(
            ezpHttpResponseCodes::OK,
            'Allowed methods are: ' . $methods,
            array( 'Allow' => $methods )
        );
        return $result;
    }
public function doHttpOptions ( ) { $ methods = implode ( ', ' , $ this -> supported_http_methods ) ; $ result = new ezpRestMvcResult ; $ result -> status = new ezpRestStatusResponse ( ezpHttpResponseCodes :: OK , 'Allowed methods are: ' . $ methods , array ( 'Allow' => $ methods ) ) ; return $ result ; }
Default action to handle OPTIONS requests.

@return ezcMvcResult
Default action to handle OPTIONS requests .