Re: "Timeout" request header to tell server to wait for resource to become available

On Mar 29, 2015 8:34 AM, "Brendan Long" <self@brendanlong.com> wrote:
>
> I don't think the semantics I want are the same. RFC 7240's "wait"
> indicates how long a client is willing to wait for a server to finish
> processing, but what I'm looking for is a way to tell the server that we
> want it to wait, even though it could respond now.
>
> Maybe the "Wait-Until: available" or "Wait-Until: etags-change" variant
> makes this more clear?

If-None-Match in combination with Prefer: wait does exactly what you want
here.

Received on Monday, 30 March 2015 15:21:08 UTC