Files
ldm0 36bd5e4259 test(fetch): cover empty upload framing in every transport
Extend the existing request-header matrix to distinguish absent and explicitly empty POST, PUT, PATCH and DELETE bodies, plus a bodyless GET control, across buffered, HTML-stream and raw-stream fetches. Inspect the local server’s wire requests to verify exactly one Content-Length: 0 for empty bodies and bodyless POST/PUT, no Content-Length for other absent bodies, and no Transfer-Encoding in these cases. Existing Content-Type and observation checks stay in the same matrix.

This extracts the remaining wire-framing coverage from the bodyless PUT change; the redirect implementation and its regression test already exist on main.
2026-10-03 17:43:25 +08:00
..