Anthony Accioly on Nostr: The client code is basically only issuing GET requests (clients should be doing a ...
The client code is basically only issuing GET requests (clients should be doing a better job of conforming to HTTP standards for CORS, caching, etc., but this is another conversation). I haven't checked if Khatru answers HEAD requests at the moment. I know that I've added support for OPTIONS due to CORS preflight requests. I'll double-check it in case Cloudflare is trying to do some magic in the background, despite the fact that I'm not seeing related HEAD requests in my Nginx logs.
Published at
2025-03-22 18:17:21Event JSON
{
"id": "11358d7ff9b2d530e3e1822bde10404ff146d098d3cfa0a9504a6cda6877cef6",
"pubkey": "ee9d979e7e1418a9f7472baf82dc96082a0d4251b77bcb170a6ecec93fadff64",
"created_at": 1742667441,
"kind": 1,
"tags": [
[
"e",
"16ba7f40bd78fa35d91723470232a5b1a4dfb72bca3098a9f45e584bcc334abf",
"",
"root"
],
[
"e",
"313f95387cf3c6015c5ccc49bb53708cd9779884e3d35ea61e57e4741595279e"
],
[
"e",
"c201ddb350b8fb0999a03757e11ba69ae1d6d6bf89f0f7d98fb77964c0e5c96e",
"",
"reply"
],
[
"p",
"ee9d979e7e1418a9f7472baf82dc96082a0d4251b77bcb170a6ecec93fadff64"
],
[
"p",
"3ffac3a6c859eaaa8cdddb2c7002a6e10b33efeb92d025b14ead6f8a2d656657"
]
],
"content": "The client code is basically only issuing GET requests (clients should be doing a better job of conforming to HTTP standards for CORS, caching, etc., but this is another conversation). I haven't checked if Khatru answers HEAD requests at the moment. I know that I've added support for OPTIONS due to CORS preflight requests. I'll double-check it in case Cloudflare is trying to do some magic in the background, despite the fact that I'm not seeing related HEAD requests in my Nginx logs.",
"sig": "6df0b9bd62f6cb2b8b984d8f3f5d6eb9ba0e4d4c0109ff6daa8eb626942a8a9ec8fb96d543ba011b6bf4c885856badf9c19568941959dbc0b58c2099f037fdda"
}