Fix fatal error with response status code
Merge pull request #22 from agudulin/bugfix

Fix fatal error with response status code