httpwg/http-extensions

QUERY: How to indicate preference for direct response style?

nicowilliams opened this issue · 5 comments

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

Use case?

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.

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 commented

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