Skip to content

Commit 9396ea5

Browse files
authored
Reserving field names in the uri specification grammar (#12)
1 parent cbc55a9 commit 9396ea5

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

uri/redis.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,16 @@ Scheme semantics:
9898
The semantics of "query" URI field key-value pairs other than those
9999
previously mentioned are implementation-defined.
100100

101+
Reserved URI fields:
102+
103+
The following field names are reserved within the URI context.
104+
These are expressed using RGC 5234 ABNF, and are reserved as follows:
105+
106+
protocol = DIGIT / "."
107+
; this is optional, corresponding to the version of
108+
; the RESP protocol requested.
109+
; the digits 0-9, and a period
110+
101111
Encoding considerations:
102112
Unknown, use with care.
103113

@@ -185,4 +195,4 @@ Security considerations:
185195
Acknowledgments:
186196
The author of this registration document gratefully acknowledges the
187197
feedback provided by Graham Klyne of Nine by Nine and Itamar Haber of
188-
Redis Labs on drafts of this document.
198+
Redis Labs on drafts of this document.

uri/rediss.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,16 @@ Scheme semantics:
5858
semantics as the redis: scheme. See the IANA registration for the
5959
redis: scheme for details.
6060

61+
Reserved URI fields:
62+
63+
The following field names are reserved within the URI context.
64+
These are expressed using RGC 5234 ABNF, and are reserved as follows:
65+
66+
protocol = DIGIT / "."
67+
; this is optional, corresponding to the version of
68+
; the RESP protocol requested.
69+
; the digits 0-9, and a period
70+
6171
Encoding considerations:
6272
Unknown, use with care.
6373

@@ -91,4 +101,4 @@ Security considerations:
91101
and data integrity. It is theoretically possible to use client
92102
certificates as an alternative Redis-level authentication/login
93103
mechanism in place of the username/password-based "AUTH" RESP
94-
command.
104+
command.

0 commit comments

Comments
 (0)