astronautlevel2 / Anemone3DS

A theme and boot splash manager for the Nintendo 3DS console
GNU General Public License v3.0
887 stars 42 forks source link

Networking rework #240

Closed Helloman892 closed 3 years ago

Helloman892 commented 3 years ago

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.