fixes getBodyContent on 0 length for req and res