hzrd149 on Nostr: Servers should serve the blob with and without the .ext The .ext is just optional ...
Servers should serve the blob with and without the .ext
The .ext is just optional because its useful for clients and users to get an idea what type the blob is without downloading it first. a lot of web apps look for `.png` or `.jpg` on URLs before they show them as images
Published at
2024-05-22 15:59:36Event JSON
{
"id": "95a8195100994da23361fd5eb46b548426a7f5c6cac11da890b1fa7b30dd0027",
"pubkey": "266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5",
"created_at": 1716393576,
"kind": 1,
"tags": [
[
"e",
"854193578f6b30db12bd160e8455cb5a3d08dd2ad8e6512b20ccbb916fb78b99",
"",
"root"
],
[
"e",
"eb078bee9dd3b39c1ef78a449145c0cf683b907a795840ed08e6586c1a6c6a95",
"",
"reply"
],
[
"p",
"fb1366abd5e4c92a8a950791bc72d51bde291a83555cb2c629a92fedd78068ac",
"",
"mention"
],
[
"p",
"89e14be49ed0073da83b678279cd29ba5ad86cf000b6a3d1a4c3dc4aa4fdd02c",
"",
"mention"
]
],
"content": "Servers should serve the blob with and without the .ext\nThe .ext is just optional because its useful for clients and users to get an idea what type the blob is without downloading it first. a lot of web apps look for `.png` or `.jpg` on URLs before they show them as images\n",
"sig": "12fafc8d2340ee9e44ce38e87168621d47f9f96209f3efddbf5fe56ecbd0dea2cf1172c6aae34d87ca16a42300d4a3c691057895f17808a95379a726ea77840c"
}