can be ``if getattr(res, 'status_code', None) == 304``