Yes
Yes it can
but you must use chunked encoding or http2
Yes
Yes it can
but you must use chunked encoding or http2
yeah, that multipart form jazz, that's not what `curl -X POST -T filename
i poked through the go stdlib http library comments and apparently there was some kind of bunfight around this shit that led to some certain things
keep in mind that this is the golang web server receiving it, so whatever retardations it has baked in i have to deal with
i don't really mind, piping from the stdin wasn't actually important at all, as soon as i saw it works when you read from a file just needed to tell it the file size, done, finished, i removed the pipe option because it doesn't come with a size information
it does, however, enable the use of a `$(sha256sum filename) in place of just the filename and it will conform to the nip-98 thing of giving the file hash as well, not that i'm enforcing it but it gives it