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

QUERY: How to indicate preference for direct response style? #2897

Open
nicowilliams opened this issue Sep 16, 2024 · 4 comments
Open

QUERY: How to indicate preference for direct response style? #2897

nicowilliams opened this issue Sep 16, 2024 · 4 comments

Comments

@nicowilliams
Copy link

It might be useful to allow the user-agent to request direct responses rather than indirect.

@reschke
Copy link
Contributor

reschke commented Sep 18, 2024

Use case?

@nicowilliams
Copy link
Author

The user-agent might want to produce a URI that the user can share, without a need to execute the query. Conversely, a user-agent might wish to optimize away a round trip.

@reschke
Copy link
Contributor

reschke commented Oct 17, 2024

Not convinced. This seems to fall into the category of "might be useful". At the end of the day, a server would always be allowed to ignore that request.

This might be something for the "Prefer" header field, if there's sufficient interest from developers.

@mnot
Copy link
Member

mnot commented Nov 17, 2024

Discussed offline with @reschke. This seems orthogonal to QUERY - it's also useful for eg POST. See also https://httpwg.org/specs/rfc7240.html#return

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants