- From: Kenton Varda <notifications@github.com>
- Date: Mon, 28 Aug 2017 14:07:13 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 28 August 2017 21:07:35 UTC
In my tests in Chrome, as expected, `Request` does *not* automatically encode the body. If you specify `Content-Encoding: gzip`, you must pass already-compressed data as the `body` option to `new Request()` (or to `fetch()`). This seems to be what the spec calls for, but it's unfortunate that it means `Request` and `Response` are inconsistent with each other. Thoughts? -- 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/589#issuecomment-325481889
Received on Monday, 28 August 2017 21:07:35 UTC