-
Notifications
You must be signed in to change notification settings - Fork 2
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
Combine preferences callback and track-changes on defining query #1961
Comments
It seems problematic that |
Alternative 1: Extend current statePrefer: track-changes
Prefer: track-changes,callback;url=http://me
Prefer: track-changes;mode=no-delta-link
Prefer: track-changes;mode=no-delta-link,callback;url=http://me
Problem: can't prefer to have a complicated defining request processed async and get a callback for the async processing and a different callback for the available delta Alternative 2: Add callback-url attribute to other preferences, optionally deprecate callback preference in combination with thesePrefer: track-changes;callback-url=http://me
Prefer: track-changes;no-delta
Prefer: track-changes;no-delta;callback-url=http://me
GET /complicated-collection |
Idea: if service doesn't support callback, respond with Preference-Applied and omit the unsupported callback-url. Unfortunately not supported by the syntax of Preference-Applied. |
Add new preferences respond-async-callback and track-changes-callback that can be used combined with the existing and explain all valid combinations. Note: |
I would like to make sure we clarify relationship of the new callback preferences with the existing callback preference. In particular, is it an error to specify the existing preference with the new preference (which would require the client know which preferences they can provide) or do the new preferences take precedence over the existing preferences (which I think is my preference). And, do we want to deprecate the existing callback preference in favor of the new ones. |
Current specification text suggests that preference
callback
can only be usedThis suggests that two requests are necessary for being notified of changes:
track-changes
callback
Allow combining this into one request:
track-changes
and preferencecallback
The text was updated successfully, but these errors were encountered: