Allow DELETE http requests
Can we allow DELETE requests? It would be useful for startinblox/framework/sib-core#331 to delete a resource
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Owner
Are they not allowed already? What are you getting? a CORS error?
- Author Maintainer
Yes I get a CORS. To test locally, I had to add it here: https://git.happy-dev.fr/startinblox/djangoldp-packages/djangoldp/blob/master/djangoldp/views.py#L138
- Owner
et voilà !
- Ghost User closed
closed
By Jean-Baptiste on 2019-06-03T06:00:14 (imported from GitLab project)
- Author Maintainer
When I delete a resource, it's deleted but I got a 500:
ldp_1 | File "/usr/local/lib/python3.6/site-packages/rest_framework/response.py", line 72, in rendered_content ldp_1 | ret = renderer.render(self.data, accepted_media_type, context) ldp_1 | File "/app/djangoldp/views.py", line 25, in render ldp_1 | data["@context"] = settings.LDP_RDF_CONTEXT ldp_1 | TypeError: 'NoneType' object does not support item assignment
- Ghost User reopened
reopened
By Jean-Baptiste on 2019-06-03T06:24:49 (imported from GitLab project)
- Ghost User assigned to @matthieu and unassigned @bleme
assigned to @matthieu and unassigned @bleme
By Jean-Baptiste on 2019-06-03T06:29:00 (imported from GitLab project)
- Ghost User assigned to @bleme and unassigned @matthieu
assigned to @bleme and unassigned @matthieu
By Jean-Baptiste on 2019-06-03T06:29:26 (imported from GitLab project)
- Ghost User created merge request !62 (merged) to address this issue
created merge request !62 (merged) to address this issue
By Jean-Baptiste on 2019-06-03T06:29:52 (imported from GitLab project)
- Ghost User mentioned in merge request !62 (merged)
mentioned in merge request !62 (merged)
By Jean-Baptiste on 2019-06-03T06:29:53 (imported from GitLab project)
- Ghost User closed via merge request !62 (merged)
closed via merge request !62 (merged)
By Jean-Baptiste on 2019-06-03T07:00:18 (imported from GitLab project)
- Ghost User mentioned in commit da340dd2
mentioned in commit da340dd2
By Jean-Baptiste on 2019-06-03T07:00:18 (imported from GitLab project)