- From: Boris Zbarsky <notifications@github.com>
- Date: Thu, 02 Feb 2017 23:58:33 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 3 February 2017 07:59:05 UTC
The relevant IDL is:
dictionary ResponseInit {
HeadersInit headers;
};
typedef (sequence<sequence<ByteString>> or record<ByteString, ByteString>) HeadersInit;
Is passing `{}` for `ResponseInit` equivalent to passing `{ headers: {} }`? I can't quite tell from the steps at <https://fetch.spec.whatwg.org/#dom-response>. In particular, is step 6.1 needed? If it is, chances are those two forms are not identical at the moment....
/cc @wanderview @annevk
--
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/479
Received on Friday, 3 February 2017 07:59:05 UTC