PLAT-534: provide versions of getObjectInfo/tryGetObjectInfo that prevent the automatic casting of const char * to bool
PLAT-534: prevent tests on the body length for HEAD requests