29
In the HTTP protocol specification, more precisely at RFC 7230, provision is made for the possibility of intermediaries between the user agent (UA), the entity that makes the HTTP request, and origin server (O), entity that will respond to the request.
The right arrows indicate the path of the HTTP request and the left arrows indicate the path of the HTTP response. Entities A, B and C are the intermediary entities that communicate with each other, with the user agent or origin server through four HTTP connections.
The three intermediate entities described are:
- Proxy
- Gateway
- Tunnel
Each intermediary entity may operate as a origin server, proxy, gateway or Tunnel, depending on the nature of the HTTP request it will handle.
What I would like to know is what is the difference between the three types of intermediary entities and when each is used in practice. Also whether the existence of only one intermediate entity is possible or whether they are related to the extent that they exist only mutually.
See if it helps to solve a similar question in the Forum: <br> https://stackoverflow.com/questions/10377679/whats-distinction-of-http-proxy-tunnel-gateway
– Renato Junior