Re: [whatwg/fetch] Allow more flexibility in how 401s/407s are handled? (#1132)

> How should service workers handle the network error resulting from the browser not prompting the user for username and password?

Service workers wouldn't need to handle the network error, similarly to e.g. an SSL certificate error. I suppose it could return a cached response if it wanted to, but otherwise the browser would show an auth prompt and then resend the request with credentials once provided.

-- 
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/1132#issuecomment-752743322

Received on Wednesday, 30 December 2020 20:09:33 UTC