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

Multiple Profile URIs in Accept-Profile #48

Open
hvdsomp opened this issue Dec 12, 2024 · 0 comments
Open

Multiple Profile URIs in Accept-Profile #48

hvdsomp opened this issue Dec 12, 2024 · 0 comments

Comments

@hvdsomp
Copy link
Collaborator

hvdsomp commented Dec 12, 2024

A question was raised during the 2024-12-11 call of the W3C JSON-LD WG regarding Accept-Profile: Can more than one Profile URI be conveyed to indicate a preference for a combination of profiles, e.g.

Accept-Profile: <http://example.org/shapes/shape-1 http://example.org/shapes/shape-2> ; q=0.8 , <http://example.org/shapes/shape-3> ; q=0.5

The ABNF does not allow this. However, it is possible to indicate that a given representation adheres to more than one profile, e.g.:

  • Using multiple links with the profile link relation type in a Link header
  • The profile parameter, when defined for media types, supports a space delimited list of Profile URIs (see e.g., JSON-LD ; Linkset)
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

1 participant