Oddbean new post about | logout
 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. 
 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 
 Thanks. It looks like NIP-94 can be used with any upload server. @Vitor Pamplona I see that Amethyst supports NIP-94, does this mean that you are publishing k:1063 events for uploaded files? And do you query for the files metadata when parsing urls from notes? 
 We don't publish NIP-94 for all files, but we do for the Media tab in the app. 

So if the file has context, it just stays as an imeta tag with the hash to check for any modification from the server. 

But it if stands by itself, it gets a NIP-94 record via NIP-96 uploads to image servers.  
 NIP-92 (imeta tag) is actually what I was looking for. Thanks! 
 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.