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

QSA Profile Conneg realisation must support QSA discovery #538

Closed
nicholascar opened this issue Nov 6, 2018 · 4 comments
Closed

QSA Profile Conneg realisation must support QSA discovery #538

nicholascar opened this issue Nov 6, 2018 · 4 comments
Assignees
Labels
due for closing Issue that is going to be closed if there are no objection within 6 days profile-negotiation
Milestone

Comments

@nicholascar
Copy link
Contributor

If the QSA realisation of the profile conneg Abstract Model (https://w3c.github.io/dxwg/conneg-by-ap/#abstractmodel) doesn't mandate the use of particular QSA keys (such as _profile & _mediatype) then it needs to provide a way for users to discover what QSA keys are used.

@akuckartz
Copy link

I am not a huge fan of QSA, but I suggest that this discovery should also work for mandated keys.

@nicholascar
Copy link
Contributor Author

nicholascar commented Nov 8, 2018

@akuckartz a standardised function would return all the keys that an implementation uses for profiles, Media Types, etc. and this would be required to be implemented for all QSA implementations, even ones that use the "standard pattern" keys of _profile & _mediatype. I already have many API instances that use _view & _format.

This function would really be the starting point function that any implementation accessor could use to work out how the implementation is configured.

In HTTP land, there is no need for this function as the Accept-Profile request and the Content-Profile header keys will have been registered, just as Accept and Content-Type already are.

@nicholascar nicholascar added this to the Conneg 3PWD milestone Jul 4, 2019
@nicholascar
Copy link
Contributor Author

Are perhaps Well-Known Uniform Resource Identifiers (URIs) something worth considering?

@nicholascar
Copy link
Contributor Author

This is being addressed in PR #1026

@nicholascar nicholascar added the due for closing Issue that is going to be closed if there are no objection within 6 days label Aug 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
due for closing Issue that is going to be closed if there are no objection within 6 days profile-negotiation
Projects
None yet
Development

No branches or pull requests

2 participants