Open QuintinWillison opened 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?
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.
➤ Automation for Jira commented:
The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-2772
We've introduced the
Ably-Agent
header (#1034, ably/docs#1077, ably/docs#1096) which (quite rightly) does not have anX-
prefix, given it's been deprecated (see RFC 6648).Work on this issue will include:
X-Ably-Version
toAbly-Version
(RSC7a)X-Ably-Lib
(RSC7b) - superseded byAbly-Agent
(RSC7d2)X-Ably-ClientId
toAbly-ClientId
(RSC7e2)X-Ably-DeviceIdentityToken
(RSH6a) toAbly-DeviceIdentityToken
X-Ably-DeviceSecret
(RSH6b) toAbly-DeviceSecret
X-Ably-Errorcode
(HP6) toAbly-ErrorCode
X-Ably-Errormessage
(HP7) toAbly-ErrorMessage
X-
-prefixed headers in client-library codebasesX-
-prefixed headers in the Realtime (internal) codebaseSee also this internal Slack thread, raised by @mattheworiordan.
┆Issue is synchronized with this Jira Task by Unito