Mario Zechner on Nostr: The response from the server is read as a UTF-8 stream. Here you can see the ...
The response from the server is read as a UTF-8 stream. Here you can see the "protocol" in all its glory.
It makes absolutely no sense why they came up with this custom protocol instead of just using nicely delineated JSON objects. But oh well, we'll deal with that later.
The response has plain HTML in it. It's directly injected via innerHTML further below...
Published at
2024-01-03 12:58:37Event JSON
{
"id": "ad584ab40eed272ad5d1e4d4259685481d08bf268b969350744e6802f7c8baa9",
"pubkey": "be81b496ea025894275a88346ffbf7d217a8886f108185e401387647eff089b4",
"created_at": 1704286717,
"kind": 1,
"tags": [
[
"e",
"3a84b1f48e55f1a4432ebbde0e76945bac3d3249719816f5910b264ba0432f89",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://mastodon.gamedev.place/users/badlogic/statuses/111692134323205545",
"activitypub"
]
],
"content": "The response from the server is read as a UTF-8 stream. Here you can see the \"protocol\" in all its glory.\n\nIt makes absolutely no sense why they came up with this custom protocol instead of just using nicely delineated JSON objects. But oh well, we'll deal with that later.\n\nThe response has plain HTML in it. It's directly injected via innerHTML further below...\n\nhttps://cdn.masto.host/mastodongamedevplace/media_attachments/files/111/692/129/167/697/854/original/ad425e6f1e42ea65.png",
"sig": "43c7b568e3e061a8e1b40032c5dbbcb45cb6f06bd43390df972a16e2c18bd099faf365ec68b9ebc0fe9da6a4a42f0ec9d23e11776473131678d9ca1b506d72f9"
}