- From: Anne van Kesteren <notifications@github.com>
- Date: Fri, 28 Jul 2017 14:24:37 +0000 (UTC)
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 28 July 2017 14:25:14 UTC
Making such restrictions (or forbidding it from being set more than once) are actually somewhat tricky given that all the APIs are generic. I wonder if a nicer alternative could be wrapping a ReadableStream somehow: `{ stream, length: 123 }`. That way we have typed data from the start and then the fetch algorithm can just use it to set the header correctly. -- 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/95#issuecomment-318665783
Received on Friday, 28 July 2017 14:25:14 UTC