Is there some kind of metadata about the blob in blossom? If not, is it even possible as an extension on the protocol?

It is very useful for clients to understand the data before downloading the actual data. One good example would be image resolution so apps can prepare the layout properly before image is loaded. This helps with performance and cleaner ux.

Reply to this note

Please Login to reply.

Discussion

Servers can offer additional metadata on media or any other file type but none of the metadata is synced or stored on other servers.

You could store some metadata in k:1063 events or NIP-94 tags though

It would be awesome if Blossom would provide that info in the response header. That way apps could make an http request for just the header without downloading the whole thing.