Blossom uploads - determine and send content type #917

Closed
opened 2024-11-20 13:08:14 +13:00 by mikedilger · 1 comment
mikedilger commented 2024-11-20 13:08:14 +13:00 (Migrated from github.com)

at least nostrmedia.com expects it

at least nostrmedia.com expects it
mikedilger commented 2024-11-21 08:40:58 +13:00 (Migrated from github.com)

We are now using infer (magic number sniffing) and mime-guess (extension mapping) to get the mime content-type and sending that. We are also doing a metadata load and sending the content-length.

We are now using `infer` (magic number sniffing) and `mime-guess` (extension mapping) to get the mime `content-type` and sending that. We are also doing a metadata load and sending the `content-length`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nostr/gossip#917
No description provided.