Hi
I managed to implement the deflate algorithm (although it told me it looks like Huffington and I had to prepend a "~1" after which it worked) for the encoding, but not the brotli. I than tried from the site https://plantuml.com/text-encoding the brotli link (393-char string length using Brotli) and it gave an error. Is brotli not supported anymore?
Here is the link to the fort draft for the implementation n in R which seems to work:
https://github.com/rkrug/plantuml/blob/dev/R/encodePlantUMLServer.R
I will work some more on it before you can link to it.
(--------)
the server requirements are stable when using deflate as the compression?
Yes, it's stable. It's so used by so many plugins that we cannot change it :-)
And that's why there is this "~1" header. If we introduce new format in the future (like brotli), we will use new headers ("~2" for example), so that "~1" will still be supported.