This file is indexed.

/usr/share/pyshared/dap/responses/version.py is in python-dap 2.2.6.7-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
"""Version response."""

from dap.lib import __dap__, __version__


def build(self, constraints=None):
    headers = [('XDODS-Server', 'dods/%s' % '.'.join([str(i) for i in __dap__])),
               ('Content-type', 'text/plain'),
              ]

    output = ['Core version: dods/%s\n' % '.'.join([str(i) for i in __dap__]),
              'Server version: pydap/%s\n' % '.'.join([str(i) for i in __version__])]

    return headers, output