Fixed check of responses with empty body
Merge pull request #19 from jeloou/fix-#18

Fixed check of responses with empty body