http-extensions icon indicating copy to clipboard operation
http-extensions copied to clipboard

QUERY: Why should a server ever prefer direct or indirect responses?

Open nicowilliams opened this issue 5 months ago • 3 comments

For that matter, if a user-agent could request a preference or requirement for direct vs. indirect responses, why should it prefer one or the other? That is, what guidance can the I-D give for when to use direct responses and when to use indirect responses?

Indirect responses have the benefit of allowing the user-agent to get a URI for its query without executing the query, and then also any subsequent GET of that URI will be cacheable as usual. Whereas direct responses mean executing the query immediately.

nicowilliams avatar Sep 16 '24 22:09 nicowilliams