Raise exception on non-200 responses.