check body to determine if body is there or not
Merge pull request #4 from cosmosgenius/empty-body-bug

check body to determine if body is there or not...fixes #3