You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In every case, the new resource is an LDP-NR. Though when I use equivalent commands to create a resource via PUT, everything works correctly. This same issue seems to apply to regular RDF source/container resources as well: they are created correctly as an LDP-RS under PUT but not under POST.
Expected behavior
Containers should be created with POST the same way they are created with PUT.
Other notes worth mentioning
This may be the case with indirect containers as well. Needs testing.
The text was updated successfully, but these errors were encountered:
Environment
Operating system: various
Python version: N/A
LAKEsuperior release, branch, or commit #: 1.0.0a13
Observed behavior
(from @acoburn 's email:)
[...] issue that I ran into related to trying to create a direct container via POST (PUT seems to work correctly). This is the file I'm using:
(assume the pre-existing presence of /ldp/member)
Whenever I try to create a new resource via POST, the new resource is stored as an LDP-NR. Here are the various commands I've used:
In every case, the new resource is an LDP-NR. Though when I use equivalent commands to create a resource via PUT, everything works correctly. This same issue seems to apply to regular RDF source/container resources as well: they are created correctly as an LDP-RS under PUT but not under POST.
Expected behavior
Containers should be created with POST the same way they are created with PUT.
Other notes worth mentioning
This may be the case with indirect containers as well. Needs testing.
The text was updated successfully, but these errors were encountered: