Changed check for success due to certain hard failures returning an "Ok" response code.
Merge pull request #5 from nathanjosiah/master

Changed check for success due to certain hard failures returning an "Ok" response code