Fixed check of responses with empty body