ably / specification

The Ably features spec for client library SDKs.
Apache License 2.0
0 stars 4 forks source link

Remove `X-` prefix from HTTP headers #31

Open QuintinWillison opened 3 years ago

QuintinWillison commented 3 years ago

We've introduced the Ably-Agent header (#1034, ably/docs#1077, ably/docs#1096) which (quite rightly) does not have an X- prefix, given it's been deprecated (see RFC 6648).

Work on this issue will include:

See also this internal Slack thread, raised by @mattheworiordan.

┆Issue is synchronized with this Jira Task by Unito

mattheworiordan commented 3 years ago

@QuintinWillison it is not clear in this issue if we have introduced an inconsistency problem with the new header ably-agent or if we are going to keep x- for now for consistency and address this all in one batch. Would you mind clarifying?

paddybyers commented 3 years ago

All new headers will not include x-. There's no point adding it, and making this new entry wrong, just for the sake of consistency with all the other things that are also wrong. It would also create a new migration/interop requirement.

sync-by-unito[bot] commented 2 years ago

➤ Automation for Jira commented:

The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-2772