A Writeable Gemini

tidux at sdf.org tidux at sdf.org
Thu Nov 11 19:36:45 GMT 2021
On Thu, Nov 11, 2021 at 03:50:47PM +0200, skyjake wrote:
> On 11. Nov 21, at 9.17, Balázs Botond <balazsbotond@gmail.com> wrote:
> > 
> > Btw, what was the motivation to limit input length to 1024 bytes in
> > the first place? I can't find anything about it in either the FAQ or
> > the specification.
> 
> Here's a relevant post from the archives where Solderpunk comments on the limit: https://mailing-list-archive.gemi.dev/www/2020/001672.html 
> 
> IMO, uploading content via URL query strings is not a great idea because you must percent-encode all of it, and that can increase the size quite a bit. Better to use alternate methods to upload a "raw" octet stream.
> 
> --jaakko

An IPFS hash is guaranteed to be under 1024 characters so treat that as
passing a pointer rather than passing by value for uploads.  This
doesn't work for private data, but if you need secure uploads of private
files you probably want a system that's not Gemini anyways.


Archive home | About this archive