Re: [whatwg/fetch] Constructing a Response with Content-Encoding? (#589)

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