Every HTTP status code we expect to get from a well-behaved server is handled, and there is a default branch handling any that we don't. There are a couple of things left to do, but before #239 gets merged I want to make sure this is in here so that we can make a release.
I've done some testing, and everything works as intended so far as I can see. Obviously no software survives first contact, but I'm fairly confident.
There's a lot of code duplication in here, but that can be resolved in a follow-up commit when the release has been made. I'm happy to call this done for now.
We now have proper HTTP status code handling.
Every HTTP status code we expect to get from a well-behaved server is handled, and there is a default branch handling any that we don't. There are a couple of things left to do, but before #239 gets merged I want to make sure this is in here so that we can make a release.
I've done some testing, and everything works as intended so far as I can see. Obviously no software survives first contact, but I'm fairly confident.
There's a lot of code duplication in here, but that can be resolved in a follow-up commit when the release has been made. I'm happy to call this done for now.