Skip to content
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

Assert 6.5.1 looking for optional headers #88

Closed
jbobzin-insyde opened this issue Mar 3, 2018 · 1 comment
Closed

Assert 6.5.1 looking for optional headers #88

jbobzin-insyde opened this issue Mar 3, 2018 · 1 comment
Assignees

Comments

@jbobzin-insyde
Copy link

jbobzin-insyde commented Mar 3, 2018

FAIL on missing link and allow response header is not correct.
The table in the spec at 6.5.1 says "Yes" in "Required" column but the "Description" column explains that "Yes" means "Sometimes"

I may be wrong about link, someone more expert should comment on when link is required.

@billdodd billdodd self-assigned this Mar 7, 2018
@billdodd
Copy link
Contributor

billdodd commented Mar 8, 2018

From reading 6.5.1.1. Link Header, my interpretation is that a Link header with a rel=describedby must (shall) be returned from GET and HEAD operations. So I think the test assertion is correct in requiring the Link header.

For the Allow header, this is optional for GET, so agree that the assertion should not be requiring it.

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

No branches or pull requests

2 participants