braid-org / braid-spec

Working area for Braid extensions to HTTP
https://braid.org
Other
236 stars 16 forks source link

Subscription parameters #123

Open toomim opened 1 year ago

toomim commented 1 year ago

The spec provides a lot of flexibility in how servers return subscription data:

We would like clients to be able to specify how they'd like this data.

We have left room in the Subscribe: <parameters> header to specify these parameters. This issue is a spcae to design the parameters spec. What options should exist in there? How should they be specified?

See the Structured Headers rfc8941 for reference on how to structure header values in HTTP.

This issue consolidates discussions from: https://github.com/braid-org/braid-spec/issues/80 (keep-alive), https://github.com/braid-org/braid-spec/issues/92 (rebase mode), https://github.com/braid-org/braid-spec/issues/101 (rebase mode), and https://github.com/braid-org/braid-spec/issues/115 (rate & format of updates), and should be consider the discussion in https://github.com/braid-org/braid-spec/issues/105.

toomim commented 1 year ago

Ah, @CxRes just wrote up a great list of subscription parameters for consideration here: https://github.com/braid-org/braid-spec/issues/124#issuecomment-1690538558!

toomim commented 1 year ago

@CxRes also points out that subscription parameters are defined via the Accept-Events: header in his PREP proposal, and we could use that for reference.