diff --git a/vendor/django_dist/django/middleware/doc.py b/vendor/django_dist/django/middleware/doc.py
index 48c155c..e7b4814 100644
a
|
b
|
class XViewMiddleware(object):
|
13 | 13 | to lookup the view function for an arbitrary page. |
14 | 14 | """ |
15 | 15 | if request.method == 'HEAD' and (request.META.get('REMOTE_ADDR') in settings.INTERNAL_IPS or (request.user.is_authenticated() and request.user.is_staff)): |
16 | | response = http.HttpResponse() |
| 16 | response = view_func(request, *view_args, **view_kwargs) |
17 | 17 | response['X-View'] = "%s.%s" % (view_func.__module__, view_func.__name__) |
18 | 18 | return response |