Conor Hughes on Nostr: During lunch a friend mentioned that you can just supply a HTTP URL to vim on the ...
During lunch a friend mentioned that you can just supply a HTTP URL to vim on the command line and it would use curl to download that resource and allow you to edit the content. I jokingly asked whether if you enter :w it would then issue a HTTP POST back to the origin which is of course ridiculous.
It issues a PUT
Published at
2024-05-17 20:09:49Event JSON
{
"id": "7afdfe003a170dc9459be815f4d4dc78bf00de7e496cd4fb8ba2e9708d4967d3",
"pubkey": "2db23387818c20abc822256075412552769d5d059a1f26231aceaace4ca67e5b",
"created_at": 1715976589,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.sdf.org/users/conorh/statuses/112458241797328014",
"activitypub"
]
],
"content": "During lunch a friend mentioned that you can just supply a HTTP URL to vim on the command line and it would use curl to download that resource and allow you to edit the content. I jokingly asked whether if you enter :w it would then issue a HTTP POST back to the origin which is of course ridiculous.\n\nIt issues a PUT",
"sig": "d7a3bd75bab9ff70a2aaaff002621cae0e85ff9ac9ce8bcc114aed66eceb1794c16778dd1e6d9bcb7e60204ed2c38a2d03e0954a432bf2287eb2c47286ae8220"
}