Taking full advantage of HTTP status codes https://github.co...

hzrd149
npub1ye5ptcxfyyxl5vjvdjar2ua3f0hynkjzpx552mu5snj3qmx5pzjscpknpr
hex
20148579df878567deafa684be0c0aff162936a19d0568392c25a49a116b04c0nevent
nevent1qqszq9y9080c0pt8m6h6dp97ps90793fx6se6ptg8ykztfy6z94sfsqprpmhxue69uhhyetvv9ujuem4d36kwatvw5hx6mm9qgszv6q4uryjzr06xfxxew34wwc5hmjfmfpqn229d72gfegsdn2q3fgfu0unuKind-1 (TextNote)
Taking full advantage of HTTP status codes https://github.com/hzrd149/blossom/pull/98 The idea is to define all the common HTTP status codes and how they relate to blossom endpoints. This has kind of been an unspoken rule for too long that clients and servers should follow HTTP but its much better to actually define it in the blossom spec.
#asknostr I would appropriate lots of feedback on this since its a big change. although its not a breaking change
原始 JSON
{
"kind": 1,
"id": "20148579df878567deafa684be0c0aff162936a19d0568392c25a49a116b04c0",
"pubkey": "266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5",
"created_at": 1775492752,
"tags": [
[
"t",
"asknostr"
],
[
"client",
"noStrudel",
"31990:266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5:1686066542546"
]
],
"content": "Taking full advantage of HTTP status codes https://github.com/hzrd149/blossom/pull/98\nThe idea is to define all the common HTTP status codes and how they relate to blossom endpoints. This has kind of been an unspoken rule for too long that clients and servers should follow HTTP but its much better to actually define it in the blossom spec.\n\n#asknostr I would appropriate lots of feedback on this since its a big change. although its not a breaking change",
"sig": "53852c20d357b7d0ebf0cda0f9029652a4c1269c1fcde7626a35f04e3479b4ae6e309c1dc4fce8fc5da980f63f3b0142449e58c4859e3f2e3151a4f8a8304eed"
}