Skip to content

Commit c0d2bb7

Browse files
authored
Rename __hosthttp- to __host-http- for improved compatibility
Follows httpwg/http-extensions#3153.
1 parent 7f54d01 commit c0d2bb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,8 +1078,8 @@ run the following steps:
10781078
1. If |name|'s [=string/length=] is 0:
10791079
1. If |value| contains U+003D (=), then return failure.
10801080
1. If |value|'s [=string/length=] is 0, then return failure.
1081-
1. If |value|, [=byte-lowercased=], [=byte sequence/starts with=] \``__host-`\`, \``__hosthttp-`\`, \``__http-`\`, or \``__secure-`\`, then return failure.
1082-
1. If |name|, [=byte-lowercased=], [=byte sequence/starts with=] \``__http-`\` or \``__hosthttp-`\`, then return failure.
1081+
1. If |value|, [=byte-lowercased=], [=byte sequence/starts with=] \``__host-`\`, \``__host-http-`\`, \``__http-`\`, or \``__secure-`\`, then return failure.
1082+
1. If |name|, [=byte-lowercased=], [=byte sequence/starts with=] \``__host-http-`\` or \``__http-`\`, then return failure.
10831083
1. Let |encodedName| be the result of [=UTF-8 encode|UTF-8 encoding=] |name|.
10841084
1. Let |encodedValue| be the result of [=UTF-8 encode|UTF-8 encoding=] |value|.
10851085
1. If the [=byte sequence=] [=byte sequence/length=] of |encodedName| plus the [=byte sequence=] [=byte sequence/length=] of |encodedValue| is greater than the <a for=cookie>maximum name/value pair size</a>, then return failure.

0 commit comments

Comments
 (0)