Just as I thought. You think you are clever, but you are just ignorant. You have no idea what you are talking about but you keep on. That's fine. You are not the first to take this approach, and you will definitely not be the last.
When you say photons, it is ambiguous. Why? Well, there are
real photons, the quanta of EM radiation that have definite energy and momentum and travel with the speed of light, and
virtual photons, the force carriers of electromagnetic interaction between elementary particles. These are called virtual because they cannot be directly observed and their energy and momentum are not connected as for a real photon (
E =
pc).
When you say bending of light, you are referring to the massless real photons. However, photons are a
quantum construct and have no counterpart in classical physics. GR is a
classical theory, meaning it is not concerned with quantum effects. In it, EM radiation is treated as a continuous wave phenomenon. In the approximation of geometrical optics, when we can say that light travels along rays, its trajectory is determined by the “Principle of Fermat”.
EM fields contain energy. That’s why they must somehow alter the metric of space-time. However, if there was only an EM field present, the
scalar curvature of space-time would be
zero. This is not the same as for massive particles.
Gluons are also
virtual particles. They are the carriers of the strong nuclear force between the quarks in Quantum Chromo dynamics (QCD). Because
there is not a definite relationship between their energy and momentum, they
do not have a defined mass, just as the virtual photons. Also, they are a quantum construct and have no meaning in classical physics. So, they are irrelevant to our discussion about GR.