Skip to content

Commit 1716eea

Browse files
authored
Update spec.bs
inserted language about HTTP 3 & 2
1 parent 9993caa commit 1716eea

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

spec.bs

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,23 @@ SLIM documents **MUST NOT** embed other browsing contexts.
117117

118118
**Rationale:** Embedded contexts violate the single-request fetch model (§4.14), create side-channel requests, and expand the attack surface (tracking, clickjacking, mixed policy contexts).
119119

120+
### 4.13 HTTP Version - SHOULD
120121

121-
### 4.11 File Size — ADVISORY
122+
When SLIM documents are served over a network, servers **SHOULD** use a modern HTTP version that improves performance and resilience:
123+
124+
- **HTTP/3** — SHOULD be preferred where supported by both server and client.
125+
- **HTTP/2** — SHOULD be used as a fallback where HTTP/3 is not available.
126+
- **HTTP/1.1** — MAY be used only when HTTP/3 and HTTP/2 are unavailable.
127+
128+
Servers MUST maintain compatibility for clients that do not support newer HTTP versions, but SHOULD prioritize protocols that reduce latency, improve multiplexing, and enhance connection reliability — especially in austere network environments.
129+
130+
**Rationale:**
131+
Using HTTP/3 or HTTP/2 enables better performance through features like multiplexed requests, reduced head-of-line blocking, and improved connection handling, all of which support SLIM’s goal of fast, resilient content delivery.
132+
133+
### 4.14 File Size — ADVISORY
122134
No hard maximum size; authors are encouraged to adopt a “less is more” mindset.
123-
### 4.12 Versioning — SHOULD
135+
136+
### 4.15 Versioning — SHOULD
124137
Follow SLIM versioning guidance (e.g., SLIM v1.0) and update the meta tag accordingly.
125138

126139

0 commit comments

Comments
 (0)