code: def file_info(self, path):
          
          res = self._make_dav_request('PROPFIND', path, headers={'Depth': '0'})
          if res:
              return res[0]
          return None
docs: Returns the file info for the given remote file
  
          :param path: path to the remote file
          :returns: file info
          :rtype: :class:`FileInfo` object or `None` if file
              was not found
          :raises: HTTPResponseError in case an HTTP error status was returned