Gravitational lensing in a non-uniform plasma