Oddbean new post about | logout
 Olas shipped with Blossom from day 1; just makes sense


https://nostrcheck.me/media/fa984bd7dbb282f07e16e7ae87b26a2a7b9b90b7246a44771f0cf5ae58018f52/5dfde8d46183c2bc9262d448a217c82b82b4941b171f96d65182d9f377943db4.webp 
 Please add NostrMedia.com ser 🙏🥹 
 Anyone can add their own; this is just my own blossom list 😅 
 @quentin is working on adding some media-related features to Olas, perhaps there’s a space to suggest/discover some blossom servers on this section of the app 
 Ohhh I see now. And it already prefilled mine. I guess it was saved on the relays, nice. Yes, if you offer user some default options, feel free to add NostrMedia.com 😏

Olas is looking great. Thanks for fixing the dark mode 🤙 
 FYI I just got "500 Internal Server Error" when I tried to blossom upload to nostrmedia.com 
 Ah what. Mind trying again, I am currently monitoring. Thanks! 
 Just did it again.  If I'm doing something wrong, you should change it to a 4xx error. 
 Oh, I see. Are you sending Content-Type in the request? It seems to be returning null. 
 If you send the Content-Type header in the request it should work 👍  
 Gossip doesn't know the content type.  It just opened the file and sent it.  I suppose I could add content type sniffing.  But anyhow you should change that to a 4xx error 
 Hmm, somehow noStrudel, 0xchat, Olas, etc  are all sending the content-type header some way 🤔  
 Yea it's 5XX'ing due to no handling of missing content-type header haha. I will add it. But, maybe see how noStrudel handles it? 
 It mentions passing the header in the bud: https://github.com/hzrd149/blossom/blob/afa1290a6aa91fb5b371ae9d346d835cb0231f83/buds/06.md 
 Whoops, that's for using HEAD, but also applies to the PUT for /upload

Let me know if you think you can pass this header in the request. Otherwise, I could see if I can infer it through extension. 
 Primal hosts a Blossom instance?
Huh. TIL. o.o 
 What’s Olas? Excuse me for my ignorance 🙏🏻🧡 
 An Instagram like client for iOS and android