original_string: function options() {
          $this->header_unset();
          $this->create_basic_request('OPTIONS');
          $this->send_request();
          $this->get_respond();
          $response = $this->process_respond();
          // validate the response ...
          // check http-version
          if ($response['status']['http-version'] == 'HTTP/1.1' ||
              $response['status']['http-version'] == 'HTTP/1.0') {
                  return $response;
              }
          $this->_error_log('Response was not even http');
          return false;
  
      }
code: function options() {
          $this->header_unset();
          $this->create_basic_request('OPTIONS');
          $this->send_request();
          $this->get_respond();
          $response = $this->process_respond();
          // validate the response ...
          // check http-version
          if ($response['status']['http-version'] == 'HTTP/1.1' ||
              $response['status']['http-version'] == 'HTTP/1.0') {
                  return $response;
              }
          $this->_error_log('Response was not even http');
          return false;
  
      }
code_tokens: function options ( ) { $ this -> header_unset ( ) ; $ this -> create_basic_request ( 'OPTIONS' ) ; $ this -> send_request ( ) ; $ this -> get_respond ( ) ; $ response = $ this -> process_respond ( ) ; // validate the response ... // check http-version if ( $ response [ 'status' ] [ 'http-version' ] == 'HTTP/1.1' || $ response [ 'status' ] [ 'http-version' ] == 'HTTP/1.0' ) { return $ response ; } $ this -> _error_log ( 'Response was not even http' ) ; return false ; }
docstring: Get options from webdav server.
  @return array with all header fields returned from webdav server. false if server does not speak http.
docstring_tokens: Get options from webdav server .