[whatwg/fetch] Is a missing HeadersInit treated differently from an empty one? (#479)

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