Add unit-tests for the network code
Splitting out some of the logic of parsing http-status and response messages into their own functions give me a chance to start adding some tests for those cases.
So that I do.
I'm still not actually parsing the error messages from the server (which are JSON), but that wasn't actually necessary.
On top of !9 (merged)
Issue: #8 (closed)
Edited by Spindel 🕷 Ljungmark