diff --git a/djangoldp/views.py b/djangoldp/views.py index c21bd1f72d16a31201874adc0b9b9569a95ee79b..3f2e70b34dac1354ae7459a4063394d8aa73f85d 100644 --- a/djangoldp/views.py +++ b/djangoldp/views.py @@ -136,7 +136,7 @@ class LDPViewSet(LDPViewSetGenerator): response = super(LDPViewSet, self).dispatch(request, *args, **kwargs) response["Access-Control-Allow-Origin"] = request.META.get('HTTP_ORIGIN') response["Access-Control-Allow-Methods"] = "GET,POST,PUT,PATCH" - response["Access-Control-Allow-Headers"] = "authorization, Content-Type, if-match" + response["Access-Control-Allow-Headers"] = "authorization, Content-Type, if-match, accept" response["Access-Control-Expose-Headers"] = "Location" response["Access-Control-Allow-Credentials"] = 'true' response["Accept-Post"] = "application/ld+json"