Skip to content

Minor improvements for slash semantic and content-type header tests#77

Merged
edwardsph merged 4 commits intomainfrom
fix/minor
Aug 8, 2022
Merged

Minor improvements for slash semantic and content-type header tests#77
edwardsph merged 4 commits intomainfrom
fix/minor

Conversation

@edwardsph
Copy link
Copy Markdown
Collaborator

No description provided.

@edwardsph edwardsph requested a review from csarven May 17, 2022 08:54
Comment thread protocol/writing-resource/slash-semantics-exclude.feature Outdated
Given url childContainerUrl
And headers clients.alice.getAuthHeaders('PUT', childContainerUrl)
And header Content-Type = 'text/turtle'
And header Link = '<http://www.w3.org/ns/ldp#BasicContainer>; rel="type"'
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hadn't spotted that PUT with "/" just doesn't need the link since it is implied. I will remove that but I'll add equivalent tests for POST.

Copy link
Copy Markdown
Collaborator

@csarven csarven left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why my comments got out there before I started to review. Any way.. okay to merge. Should there be more tests - am I overlooking? - where e.g. POST / (with Link rel=LDBC) creates non-container ?

@edwardsph edwardsph merged commit 3f60eb8 into main Aug 8, 2022
@edwardsph edwardsph deleted the fix/minor branch August 8, 2022 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants