Oh god the AccuRIP database has an atrocious API. JSON? Lol. Give it magic numbers and it return __HEADERLESS__ binary or an HTML document in case of an error.
Headerless binary with a non-fixed unpredictable size.
Making users identify an HTML document from a binary is pure malice.
@wolf480pl Yes, and it also does correctly use the MIME type, but getting that out of libcurl is a struggle.
I thought like the status code was the first thing anyone using any API would look at... it's surprising that libcurl makes it hard to get at...
A Mastodon instance for people interested in multimedia, codecs, assembly, SIMD, and the occasional weeb stuff.