Repository navigation
Commit 9e6c867
docs(web): rule the createEvent request contract — standards-shaped only
event.request is a standards-shaped Request (url, method, headers, signal,
readable body) and nothing more. Any body-size enforcement on a Fetch body
puts the runtime between the host's stream and the decoder and forces a
rebuilt Request, so host-specific fields on the inbound object (request.cf,
srvx runtime/ip/waitUntil) are not carried — and never were on the default
bodySizeLimit path. Hosts have their own request in closure when they call
the handler and surface platform handles on the event (locals).
Settles #3315: #3312's rebuild-from-parts is the final shape, not a
stopgap.
Co-authored-by: Cursor <[email protected]>1 parent a71e42e commit 9e6c867
3 files changed
Lines changed: 19 additions & 1 deletion
File tree
- .changeset
- documentation/solid-2.0
- packages/web/server-functions/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
451 | 460 | | |
452 | 461 | | |
453 | 462 | | |
| |||
3214 | 3223 | | |
3215 | 3224 | | |
3216 | 3225 | | |
| 3226 | + | |
| 3227 | + | |
| 3228 | + | |
| 3229 | + | |
3217 | 3230 | | |
3218 | 3231 | | |
3219 | 3232 | | |
| |||
0 commit comments