Skip to content

Commit ce959c9

Browse files
committed
fix(http): remove implementation limit recommendations
Specific minimum sizes are intentionally left unspecified. Implementations operate in diverse environments with varying constraints, so limits are implementation-defined. Making operations fallible with size-exceeded is sufficient to ensure correct error handling without prescribing specific thresholds.
1 parent 977983e commit ce959c9

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

proposals/http/wit-0.3.0-draft/types.wit

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,6 @@ interface types {
121121
/// implementation-defined limit on field sizes. This may apply to
122122
/// an individual `field-value`, a single `field-name` plus all its
123123
/// values, or the total aggregate size of all fields.
124-
///
125-
/// Implementations MUST accept individual field values of at least
126-
/// 8192 bytes and total aggregate field sections of at least 16384
127-
/// bytes. These minimums ensure portability across common HTTP
128-
/// servers and match HTTP/2's minimum SETTINGS_MAX_FRAME_SIZE.
129124
size-exceeded,
130125

131126
/// This is a catch-all error for anything that doesn't fit cleanly into a
@@ -188,9 +183,7 @@ interface types {
188183
///
189184
/// Implementations may impose limits on individual field values and on total
190185
/// aggregate field section size. Operations that would exceed these limits
191-
/// fail with `header-error.size-exceeded`. Implementations MUST accept
192-
/// individual field values of at least 8192 bytes and total aggregate field
193-
/// sections of at least 16384 bytes.
186+
/// fail with `header-error.size-exceeded`
194187
@since(version = 0.3.0-rc-2026-02-09)
195188
resource fields {
196189

0 commit comments

Comments
 (0)