On 11/19/18 5:07 PM, john.biel...@googlemail.com wrote:
WWW-Authenticate: X-MobileMe-AuthToken realm="Newcastle", Basic
realm="Newcastle"
I expect this would work if you sent it as:
WWW-Authenticate: X-MobileMe-AuthToken realm="Newcastle"
WWW-Authenticate: Basic realm="Newcastle"
Yes, per spec they are theoretically supposed to be the same. But
https://searchfox.org/mozilla-central/rev/b03a62c3c82316e733a3b09622c1cb7e59f64cc3/netwerk/protocol/http/nsHttpHeaderArray.h#268,271-273
is probably relevant here: ',' appears in some authentication
information in the wild, so you can't just split WWW-Authenticate on
commas to get a list of authentication methods.
Whether this is a bug is something I'll let the networking team comment
on; I don't know the full set of compat constraints here.
-Boris
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform