melvincarvalho on Nostr: Yeah, in theory canonical SHOULD be with a trailing slash, because it's an http ...
Yeah, in theory canonical SHOULD be with a trailing slash, because it's an http upgrade, so based on any HTTP location. But of course people are going to leave out the slash often. I think we need a tech spec that says trailing slash is the canonical location, but it software should handle both with and without trailing slash.
Published at
2024-08-17 10:23:21Event JSON
{
"id": "15c4a71a66dc65f4c92c9b03e75e8627286b11abd4459dc3c72c13ce0786ce97",
"pubkey": "de7ecd1e2976a6adb2ffa5f4db81a7d812c8bb6698aa00dcf1e76adb55efd645",
"created_at": 1723890201,
"kind": 1,
"tags": [
[
"e",
"042cb87e7e3abca4e509f40e31cc5e4cafa5b24a0fe6e80f50e749a20b79c6a4",
"wss://relay.wellorder.net",
"root"
],
[
"e",
"b3dfeddc5108afe8aa37401e013dbc47a35aaf2b6626fbc21517e9d76cdb3ac1",
"wss://relay.wellorder.net",
"reply"
],
[
"p",
"de7ecd1e2976a6adb2ffa5f4db81a7d812c8bb6698aa00dcf1e76adb55efd645"
],
[
"p",
"dab6c6065c439b9bafb0b0f1ff5a0c68273bce5c1959a4158ad6a70851f507b6"
],
[
"p",
"3356de61b39647931ce8b2140b2bab837e0810c0ef515bbe92de0248040b8bdd"
]
],
"content": "Yeah, in theory canonical SHOULD be with a trailing slash, because it's an http upgrade, so based on any HTTP location. But of course people are going to leave out the slash often. I think we need a tech spec that says trailing slash is the canonical location, but it software should handle both with and without trailing slash.",
"sig": "654f11a13e5c1ac4bdd62113522e8d6641aa33716a589de9efde58e2f00ae59e66482ae6faf8034dacc749fb9937acca1e174eeb96135bd933988b8c67569d52"
}