Commit a9eab22
committed
fix: avoid 401 failures for stream-backed request bodies
- Properly implement isTraversableNavigable() to return false in Node.js
- Return 401 response directly for stream-backed bodies instead of throwing network error
- Aligns with Fetch spec discussion in whatwg/fetch#1132
- Add regression tests for PUT with ReadableStream and POST with JSON body1 parent 5145a7c commit a9eab22
3 files changed
Lines changed: 357 additions & 305 deletions
0 commit comments