no crash on empty html response
Merge pull request #17 from mansimransingh/fixing_shit

no crash on empty html response