Re: [Fetch API] Headers.get("WWW-Authenticate") does not return anything, if server sends more than one such header

2018-09-13 Thread john.bieling--- via dev-platform
I created a bug https://bugzilla.mozilla.org/show_bug.cgi?id=1491010 ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: [Fetch API] Headers.get("WWW-Authenticate") does not return anything, if server sends more than one such header

2018-09-13 Thread Ehsan Akhgari
On Thu, Sep 13, 2018 at 9:40 AM john.bieling--- via dev-platform < dev-platform@lists.mozilla.org> wrote: > I encountered something strange. I am on TB60 trying to use the Fetch API. > > I create a GET or POST request without authentication and get back a 401 > from the server and use > >

[Fetch API] Headers.get("WWW-Authenticate") does not return anything, if server sends more than one such header

2018-09-13 Thread john.bieling--- via dev-platform
I encountered something strange. I am on TB60 trying to use the Fetch API. I create a GET or POST request without authentication and get back a 401 from the server and use response.headers.get("WWW-Authenticate") to eval the allowed authentication methods. This works fine, if the server