- From: Ben Bucksch <notifications@github.com>
- Date: Tue, 21 Jun 2022 04:06:16 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 21 June 2022 11:06:28 UTC
OK, let's assume that as client, I start streaming immediately after sending the request headers. Let's say the server says "401 you need to authenticate first" (which is particularly important with OAuth2, where I can never know whether the server has revoked or accepts my tokens). How would I know that the server wants me to re-auth first and won't accept any of my data until I re-auth? Given that it's live streaming, I cannot wait until the end of the stream, otherwise we'd have data loss. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/1438#issuecomment-1161595934 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/issues/1438/1161595934@github.com>
Received on Tuesday, 21 June 2022 11:06:28 UTC