Added output operator for fetch status.
Correctly handle non-200 HTTP responses.
Added a new test for HTTP status codes and factored out common patterns in existing tests.
Added extra cases for HTTP bad request coverage.