base: fix handling empty bodies
0.7.19