Re: [whatwg/fetch] Cloned responses should not have immutable headers (#608)

Okay, we could maybe expose that in some other way (since we know where the object came from). That would solve the specific issue, but not your larger problem. Probably best tracked as a new issue if you want to pursue that.

I don't think we want to change `clone()` since it should also work for opaque responses and such. We could maybe have `limitedClone()` that doesn't preserve all the internal fields of a response and would fail for opaque responses, but that would essentially be identical to my code snippet earlier, which still doesn't seem too bad to me.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/608#issuecomment-332735986

Received on Thursday, 28 September 2017 06:01:05 UTC