Changed case statement to if/else for increased legibility

I didn't change any code functionality, but I shifted your case statement on like 135 to an if/else chain.  This is a purely stylistic choice, but I think it adds to the project because :

1.  it eliminates the need for break/default statements, which add extra lines to the code
2.  There's no need for the functionality of a switch because we aren't falling through to any other actions if response.status matches one of our cases.

I also made a couple typo fixes in your documentation.  Of course, it's your repo, so I defer to you!

Great work on this project!  It's super useful.