"Wide load" status code(s)?

Matthew Graybosch hello at matthewgraybosch.com
Wed Jun 10 14:49:14 BST 2020


On Wed, 10 Jun 2020 07:32:16 +0000
solderpunk <solderpunk at SDF.ORG> wrote:

> Hey all,
> 
> It's been a small pain point for some people for a while now that
> there is no way for a Gemini client to know how large a file it's
> downloading is without simply downloading the whole thing.

I agree that it's important to let people using Gemini clients know how
big a file they're about to download is, and I think the status codes
for indicating large, huge, and colossal files are a good idea.

This inspired me to manually add file sizes to my link descriptions for
any file I host on my own capsules as a courtesy to visitors so that
people can decide for themselves whether they want to open a particular
link. I've done the same for my capsules' atom feeds so that people
visiting CAPCOM can also see how large my files are.

I won't presume to recommend that everybody do this, even though it
would be nice to see my approach become a convention. It takes time to
go through your directory tree and get file sizes even if you're just
using shell commands like "ls -hal", but it's a low-tech approach I can
implement today instead of waiting for client and server developers to
catch up.

-- 
Matthew Graybosch           https://www.matthewgraybosch.com
#include <disclaimer.h>	    gemini://starbreaker.org
Harrisburg,PA	 	    gemini://demifiend.org
"Out of order?! Even in the future nothing works."


More information about the Gemini mailing list