setitem and getitem for Request