This file is indexed.

/usr/lib/python2.7/dist-packages/corsheaders/signals.py is in python-django-cors-headers 2.1.0+github-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
from django.dispatch import Signal

# If any attached handler returns Truthy, CORS will be allowed for the request.
# This can be used to build custom logic into the request handling when the
# configuration doesn't work.
check_request_enabled = Signal(providing_args=['request'])