-
![](https://image.nostr.build/46748cf4fa614b75109ead7b70927e1ab8ea686fd3af03a12027e3414b9fe572.jpg)
@ Anthony Accioly
2025-02-13 10:01:03
It's shaping up nicely! Can I make a suggestion? This might require some changes to khatru itself since it doesn’t expose the HTTP response object to the LoadBlob function, but it would be great to have an option for Cloud storage to redirect to public buckets or CDNs on read (i.e., send an HTTP 301 or 302 response) instead of "proxying" the request if you get what I mean.
https://github.com/hzrd149/blossom/blob/master/buds/01.md#get-sha256---get-blob
nostr:nprofile1qqszv6q4uryjzr06xfxxew34wwc5hmjfmfpqn229d72gfegsdn2q3fgpr3mhxue69uhhxct5v4kxc6t5v5hxs7njvscngwfwvdhk6tcpzfmhxue69uhkummnw3e82efwvdhk6tcpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsk7wj75, quick question to make sure that I understand BUD-01correctly. When using code 301 with Blossom, while the URL should expose the sha256, there's no requirement for the file in question to be at the root at the redirected URL right? I.e., it should be fine to redirect to an URL such as
https://www.myblossomserver/b1674191a88ec5cdd733e4240a81803105dc412d6c6708d53ab94fc248f4f553 to https://s3.us-east-2.amazonaws.com/myawesomebucket/b1674191a88ec5cdd733e4240a81803105dc412d6c6708d53ab94fc248f4f553 right?