One problem with ActivityPub is that there is not a standard format for errors returned from the API or federation protocol.

I wrote a Fediverse Enhancement Proposal (FEP) to establish a standard set of error messages using RFC 9457, Problem Details for HTTP APIs.

It'd be great to get some review here:

codeberg.org/fediverse/fep/src…

Comments and suggestions here (or just reply):

codeberg.org/evanp/fep/issues

..

reshared this

in reply to Evan Prodromou

Only quick read-through and don't know much about activity pub, so take my thoughts with a bunch of salt:

media too large and size field implies to me the server has to read the file even though it's already been concluded it's too large. This seems a bit iffy to me, also wondering if it's a potential attack vector if you're not careful on the server side?

Does redundant activity work better with status 409 conflict?

Questa voce è stata modificata (1 anno fa)