W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2014

Re: Fetch API

From: Jake Archibald <jaffathecake@gmail.com>
Date: Tue, 3 Jun 2014 14:01:33 +0100
Message-ID: <CAJ5xic9VF+B1GoQzn77xcb9QDgkN=LRLgS0imOE=ZGAvJWa7FA@mail.gmail.com>
To: Domenic Denicola <domenic@domenicdenicola.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, Anne van Kesteren <annevk@annevk.nl>, public-script-coord <public-script-coord@w3.org>, Joshua Bell <jsbell@chromium.org>, Jungkee Song <jungkee.song@samsung.com>, Yehuda Katz <wycats@gmail.com>, Alex Russell <slightlyoff@google.com>, Jonas Sicking <jonas@sicking.cc>, Tobie Langel <tobie.langel@gmail.com>, WebApps WG <public-webapps@w3.org>
On 2 June 2014 00:08, Domenic Denicola <domenic@domenicdenicola.com> wrote:
> > Presumably RedirectResponse being a subtype would also be acceptable, as
> its .prototype.constructor would be RedirectResponse?
> Yeah, although I'm not sure there's a need to override any functionality
> here, so not sure that there's a need for subclassing.

Agreed. So Response.redirect(url, status)?

Btw, I'd like to add similar-style factories to Response which set header &
mode defaults


etc. Don't need these for the first pass though.
Received on Tuesday, 3 June 2014 13:02:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:24 UTC