Fixing `store.set()` such that it handles multiple response status codes (3xx series not supported atm)