Fix generic client

Fix crash when calling _request with no data.