← Back to team overview

libravatar-fans team mailing list archive

Re: Issues with the API specification

 

Hello Jonathan,


>  > Yes, that's fine and future-compatible when avatar servers need to
>  > support 4k icons for the 1024k displays :)
> I wonder if we should cap file size as well, perhaps as a multiplier
> of maximum size, in case some folks start uploading massive animated
> PNGs, c.f.

No, we cannot do that in the spec, and we should not. This would mean
that clients can depend on it, and will massively break if a bad server
sends 1gig of data. We can't control it.

HTTP has worked fine without specifying maximum response sizes, and we
shouldn't either.


-- 
Regards/Mit freundlichen Grüßen
Christian Weiske

-=≡ Geeking around in the name of science since 1982 ≡=-

Attachment: signature.asc
Description: PGP signature


References