After a bit of testing, turns out we are not the only ones having issues. Some tests do in fact fail when compiling the library. I've reported the issue upstream: https://github.com/yhirose/cpp-httplib/issues/1087 .
Until that gets fixed, I'll disable the tests in d/rules.