only handle response if there is any data
Merge pull request #20 from mafintosh/no-data-fix

only handle response if there is any data