mleku on Nostr: @fiatjaf what is it about the thing of how computer code is literal that makes you ...
@fiatjaf what is it about the thing of how computer code is literal that makes you think that it's ok to spice new lines into things like command lines without using the necessary \ "line continues" or in this case i'm supposed to assume that the line break is supposed to be in the header string?
https://github.com/nostr-protocol/nips/blob/master/98.md#request-flow
according to this code:
https://github.com/jiftechnify/hono-nostr-auth/blob/main/src/nostr_auth.test.ts#L70
it's supposed to be "Authorization" for the key and "Nostr <base64 encoded event>" but your nips repo puts a line break in there
literally copying the command line you show in your nak readme will result in an error
i bet putting a line break in a header value field is also an error
https://github.com/nostr-protocol/nips/blob/master/98.md#request-flow
according to this code:
https://github.com/jiftechnify/hono-nostr-auth/blob/main/src/nostr_auth.test.ts#L70
it's supposed to be "Authorization" for the key and "Nostr <base64 encoded event>" but your nips repo puts a line break in there
literally copying the command line you show in your nak readme will result in an error
i bet putting a line break in a header value field is also an error