You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"If the server requires authorization to upload it may respond with the 401 status code"
Returning 400 is causing uploads to fail between relays that use Khatru (e.g. Haven) and clients that use blossom-client-sdk (e.g. noStrudel) ... because blossom-client-sdk never sends an Authorization header to HEAD /upload and only sends one to PUT /upload if the response from HEAD /upload is 401
E.g. the HEAD /upload endpoint returns 400
khatru/blossom/handlers.go
Line 21 in 4dba937
BUD 06 ...
"If the server requires authorization to upload it may respond with the 401 status code"
Returning 400 is causing uploads to fail between relays that use Khatru (e.g. Haven) and clients that use blossom-client-sdk (e.g. noStrudel) ... because blossom-client-sdk never sends an Authorization header to HEAD /upload and only sends one to PUT /upload if the response from HEAD /upload is 401
cc @barrydeen @hzrd149
The text was updated successfully, but these errors were encountered: