💾 Archived View for rawtext.club › ~sloum › geminilist › 002169.gmi captured on 2020-11-07 at 02:43:29. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2020-09-24)
-=-=-=-=-=-=-
Solderpunk solderpunk at posteo.net
Fri Jul 10 10:26:15 BST 2020
- - - - - - - - - - - - - - - - - - -
On Thu Jul 9, 2020 at 3:27 PM CEST, juhani wrote:
On 9.7.2020 15.52, Petite Abeille wrote:
On Jul 9, 2020, at 14:27, juhani <juhani at envs.net> wrote:
but what should the client do if it cant be sure it has the complete payload?
Pray. Punt. Apply any random heuristics you see fit. But really, no close, no cigar.
Roger that :)
I guess one is almost always going to get at least the MIME type of thepartial content, so really robust clients could probably implement astrategy of looking at that to decide how to proceed (althoughproceeding at all in this scenario is always going to be hit-or-miss,and in principle it should be a perfectly valid decision for a client todisplay an error message and nothing more if the connection times outwithout closing, or if it closes without a proper TLS finishingmessage). In principle one could categorise MIME types into those wherehandling partial content is likely to degrade gracefully (e.g.uncompressed, "linear" content - text, wav files maybe?) and those wheretrying to proceed is just likely to cause an error.
Cheers,Solderpunk