Comment by ๐Ÿ‘ป ps

Re: "Help me figure out titan please?"

In: s/SmallWeb

@byte that's because I'm asking for, because would glad to participate (if that's Rust only)

๐Ÿ‘ป ps

2025-02-08 ยท 1 year ago

4 Later Comments โ†“

๐Ÿ‘ป ps ยท 2025-02-08 at 20:05:

@byte hey, I have recently added you to the moderators of /s/Ukrainians band!

๐ŸŒ† skyjake [mod...] ยท 2025-02-08 at 20:35:

@byte:

size=0 would work, but now i see it's a gray area for interpetation

The protocol does not define a way to set a client-side constraint on the data that the user is supposed to send in the request. So a Titan URL cannot include a "size=N" parameter, because the size is only determined based the data that the user chooses. One would have to extend the specification to allow for this.

๐ŸŒฒ byte [OP] ยท 2025-02-08 at 20:45:

@ps the titan handling code is currently here - https://git.sr.ht/~byte-/gabbro, and the imgur part will be a set of CGIs

๐Ÿ‘ป ps ยท 2025-02-08 at 21:25:

thanks, just sr.ht gives me a headache, I don't know yet how to use it :)

Original Post

๐ŸŒ’ s/SmallWeb

๐ŸŒฒ byte:

โ€” spec

Help me figure out titan please? โ€” I wrote a link like titan://localhost/file;size=0; and according to the titan's specification this is supposed to mean "file deletion". And technically it works, but when I press the link in Lagrange it opens up the file upload dialog anyway. Is it a Lagrange-specific behavior or am I missing something?

๐Ÿ’ฌ 15 comments ยท 2025-02-04 ยท 1 year ago