Parent: #36
Problem
IO/JS wrapper Response(Response, init) currently aliases the wrapped response host and ignores init. This is not a standard Response() constructor shape, so the package should explicitly decide whether this extension should be removed, rejected, or defined as clone/copy semantics.
Investigation scope
- Identify why wrapper
Response(Response, init) support exists and whether callers rely on it.
- Compare with standard
Response() body semantics, where arbitrary objects are stringified rather than treated as response copies.
- Decide behavior for init overrides if the extension is retained.
- Add tests so IO/JS wrapper behavior cannot silently alias mutable state.
References
Parent: #36
Problem
IO/JS wrapper
Response(Response, init)currently aliases the wrapped response host and ignoresinit. This is not a standardResponse()constructor shape, so the package should explicitly decide whether this extension should be removed, rejected, or defined as clone/copy semantics.Investigation scope
Response(Response, init)support exists and whether callers rely on it.Response()body semantics, where arbitrary objects are stringified rather than treated as response copies.References