/usr/share/pyshared/paste/webkit/FakeWebware/WebKit/HTTPExceptions.py is in python-pastewebkit 1.0-7.
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 | from paste.httpexceptions import *
class HTTPAuthenticationRequired(HTTPUnauthorized):
def __init__(self, realm=None, message=None, headers=None):
headers = headers or {}
headers['WWW-Authenticate'] = 'Basic realm=%s' % realm
HTTPUnathorized.__init__(self, message, headers)
|