Fixes #7322 - Fixed handling of empty body (just whitespaces)

Yes, that would be better @ehelms. Fixed.