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

Add up to document Link header #3

Merged
merged 1 commit into from
Oct 21, 2019
Merged

Add up to document Link header #3

merged 1 commit into from
Oct 21, 2019

Conversation

zfletch
Copy link
Member

@zfletch zfletch commented Oct 18, 2019

Add rel="up" to the document Link header. If the fragment is a single ref, then return the parent if it exists. If it's a start...end fragment, then return a link with a start being the start fragment's parent and end the end fragment's parent.

This bug was pointed out by @balmas in point 4 in her comment here.

Add `rel="up"` to the document `Link` header. If the fragment is a
single `ref`, then return the `parent` if it exists. If it's a
`start...end` fragment, then return a link with a `start` being the
start fragment's parent and `end` the end fragment's parent.
@zfletch zfletch changed the base branch from rel-prev-next-absolute to master October 21, 2019 16:14
@zfletch zfletch merged commit e4146be into master Oct 21, 2019
@zfletch zfletch deleted the link-header-up branch October 21, 2019 16:17
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.

1 participant