Closed elf-pavlik closed 1 month ago
@elf-pavlik Thanks for the issue! Really appreciate your eyes on this spec!
Streaming body: would that entail long polling then? Last time I checked, long polling had serious performance issues compared to SSE and WebSockets, right? With Server-Sent Events, you can also set the Authorization
header, no?
With Server-Sent Events, you can also set the Authorization header, no?
AFAIK SSE doesn't allow setting headers related discussion https://github.com/solid/specification/issues/122#issuecomment-598270495
Streaming body: would that entail long polling then?
I mean relying on relatively new ReadableStream.getReader()
on the body of fetch response (example snippet in discussion linked above).
Google Chrome Developers has a friendly video on Streaming requests with fetch (HTTP 203 series)
We will look into this and get back to you!
Also happy to hear your thoughts @brechtvdv @julianrojas87
Imports are now gone from the main spec. Making the connection to a push-based system should be handled in the LDES specification that also specifies how the collection can change.
https://treecg.github.io/specification/#imports
Given that Fetch supports streaming body, websockets and server-sent events might not be necessary. It could have advantage, for example in situation when
Authorization
needs to be set.