diff --git a/djangoldp/views.py b/djangoldp/views.py index 503e01cdf83e53bbc3f9ac37ce4616f9c2b2713e..f45e362fd3527be96a8bfc1b0dd2d7dbdf7e33cc 100644 --- a/djangoldp/views.py +++ b/djangoldp/views.py @@ -629,6 +629,7 @@ def serve_static_content(request, path): if request.method != "GET": resolver = get_resolver() match = resolver.resolve("/" + path) + request.user = AnonymousUser() return match.func(request, *match.args, **match.kwargs) server_url = getattr(settings, "BASE_URL", "http://localhost")