-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test for POST to non-existing resource #64
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think testing a particular content type is equivalent to testing for particular resource types (derived primarily from URI path sending with slash). The difference in this manifest with the manifest in #62 is that the former tests only text/turtle the latter tests both container and non-container.
Would it be meaningful to test other media types of concrete RDF syntaxes or even a random media type?
Yes, that makes sense, so I added them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You haven't sent any body
to the server so is it possible that a server will respond with another error e.g. 400 before it checks if the resource exists?
Co-authored-by: Pete Edwards <[email protected]>
Co-authored-by: Pete Edwards <[email protected]>
Co-authored-by: Pete Edwards <[email protected]>
Co-authored-by: Pete Edwards <[email protected]>
Co-authored-by: Pete Edwards <[email protected]>
…ature Co-authored-by: Pete Edwards <[email protected]>
…ature Co-authored-by: Pete Edwards <[email protected]>
…ature Co-authored-by: Pete Edwards <[email protected]>
…tainer Test that server protects non-empty container
Test Allow headers for GET and HEAD
OK, this should take all comments into account, thanks a lot! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
protocol/writing-resource/delete-protect-nonempty-container.feature
Outdated
Show resolved
Hide resolved
…ature Co-authored-by: Pete Edwards <[email protected]>
https://solidproject.org/TR/protocol#server-post-target-not-found