Fixed response code check to NOT None
Merge pull request #387 from modilabs/response_code_check_fix

The check should have been for a not None instead.