My question is can you consider the fabric of spacetime to be a medium? And if so, can one explain the bending light due to gravity, that warps spacetime, as analogous to light changing between the medium of air and glass in Snell's law.
Let me clarify further:
Imagine a cartesian coordinate system with a mass located at the origin with mass $M$.
a beam of light is shot parallel to the plane $x=1$.
at the point <1,0,0> gravity is warping the space time medium between the the beam of light and the mass much more than the the space time on the opposite side of the plane x=1. Therefore the discrepancies in the density(this maybe the wrong terminology do not murder me on this) of the medium on both sides light is propagating through has created an effect that is exactly the same as the the case we experience on earth and teach in class room when light is shot a block of glass and refracts.
So to summarize, can the bending of light due to gravity simply be thought of as refraction.