Fix crash when calling _request with no data
Merge pull request #23 from royiarchy/fix_generic_client

Fix generic client